gnome – Ubuntu 18.04.3 displays a broken complex problem

I'm new to this forum and I really need help repairing my Ubuntu desktop display. I know, this question has been asked so many times and I have already tried it, but so far no success.

I use Ubuntu LMS and shut down my computer normally, but Display Manager does not work anymore when I turned my computer on in the morning. First it was in the terminal Display Manager not working then I tried to fix and reinstall lightdm, gnome shell and gdm3, but nothing worked.

Now the system says Overlays : missing lower dir and it's about tty1, I can not install anything on my system and get a message

"You don't have enough space in /var/cache/apt/archives/. 

I have more than 100 GB of free space and I also used sudo apt clean and sudo apt autoremove, but nothing works for me.

Please help me overcome this space problem and restore my desktop display.

broken Debian package and fix with apt-get -f

What exactly happens when we have one deb Package that ends up as a bad installation, and how is it? apt-get -f fixes the situation (instead of starting during the installation)?

Example:

1) We install the Ferdi package downloaded from https://github.com/getferdi/ferdi/releases/tag/v5.3.3:

$ dpkg -i ferdi.deb
Selecting previously unselected package ferdi.
(Reading database ... 180829 files and directories currently installed.)
Preparing to unpack .../ferdi_5.3.3_amd64.deb ...
Unpacking ferdi (5.3.3-157) ...
dpkg: dependency problems prevent configuration of ferdi:
 ferdi depends on gconf2; however:
  Package gconf2 is not installed.
 ferdi depends on gconf-service; however:
  Package gconf-service is not installed.
 ferdi depends on libappindicator1; however:
  Package libappindicator1 is not installed.

dpkg: error processing package ferdi (--install):
 dependency problems - leaving unconfigured
Processing triggers for mime-support (3.64) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 ferdi

As we can see, the package is not installed correctly due to missing dependencies.

2) Repairing the broken package is easy:

$ apt-get --fix-broken --yes install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  gconf-service gconf2 libappindicator1 libdbusmenu-gtk4 libindicator7
Suggested packages:
  gconf-defaults-service
The following NEW packages will be installed:
  gconf-service gconf2 libappindicator1 libdbusmenu-gtk4 libindicator7
0 upgraded, 5 newly installed, 0 to remove and 53 not upgraded.
1 not fully installed or removed.
Need to get 993 kB of archives.
After this operation, 1,539 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian unstable/main amd64 gconf-service amd64 3.2.6-6 (415 kB)
Get:2 http://deb.debian.org/debian unstable/main amd64 gconf2 amd64 3.2.6-6 (426 kB)
Get:3 http://deb.debian.org/debian stable/main amd64 libdbusmenu-gtk4 amd64 18.10.20180917~bzr490+repack1-1 (45.7 kB)
Get:4 http://deb.debian.org/debian stable/main amd64 libindicator7 amd64 0.5.0-4 (53.0 kB)
Get:5 http://deb.debian.org/debian stable/main amd64 libappindicator1 amd64 0.4.92-7 (53.3 kB)
Fetched 993 kB in 1s (1,071 kB/s)          
Selecting previously unselected package gconf-service.
(Reading database ... 181193 files and directories currently installed.)
Preparing to unpack .../gconf-service_3.2.6-6_amd64.deb ...
Unpacking gconf-service (3.2.6-6) ...
Selecting previously unselected package gconf2.
Preparing to unpack .../gconf2_3.2.6-6_amd64.deb ...
Unpacking gconf2 (3.2.6-6) ...
Selecting previously unselected package libdbusmenu-gtk4:amd64.
Preparing to unpack .../libdbusmenu-gtk4_18.10.20180917~bzr490+repack1-1_amd64.deb ...
Unpacking libdbusmenu-gtk4:amd64 (18.10.20180917~bzr490+repack1-1) ...
Selecting previously unselected package libindicator7:amd64.
Preparing to unpack .../libindicator7_0.5.0-4_amd64.deb ...
Unpacking libindicator7:amd64 (0.5.0-4) ...
Selecting previously unselected package libappindicator1:amd64.
Preparing to unpack .../libappindicator1_0.4.92-7_amd64.deb ...
Unpacking libappindicator1:amd64 (0.4.92-7) ...
Setting up libindicator7:amd64 (0.5.0-4) ...
Setting up gconf-service (3.2.6-6) ...
Setting up libdbusmenu-gtk4:amd64 (18.10.20180917~bzr490+repack1-1) ...
Setting up libappindicator1:amd64 (0.4.92-7) ...
Setting up gconf2 (3.2.6-6) ...
Setting up ferdi (5.3.3-157) ...
Processing triggers for man-db (2.9.0-1) ...
Processing triggers for libc-bin (2.29-2) ...
  1. Why are the missing dependencies not installed while? dpkg -i?
  2. why is apt-get -f able to solve it easily?
  3. Is that okay, or is it possibly causing a system failure?

Tapatalk (again) broken

Looks like something has broken with Tapatalk again. Probably the Cloudflare stuff, but I will not spend too much time guessing this. We have … | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1787008&goto=newpost

TWRP / Data Recovery results in a broken lock screen

Recently, my TWRP / LineageOS enabled phone crashed and entered a boot loop. Luckily I was able to start TWRP and create a backup.
However, restoring the backup on an identical phone is difficult.

I used two approaches:

  • Full recovery: Another phone has the same problem with the start loop

  • Flash-identical version of LineageOS and Restore Only / Data: The phone starts well, but the lock screen does not accept the pattern I know on the old phone

With regard to the latter, I've tried to set the identical pattern before restoring / data, set a different pattern, and instead set a pen. The corresponding pattern / pin is valid at the start time, but the lock screen is still broken

Is there a way to disable the lock screen in TWRP?

Note that at this time, it is less a matter of convenience, as all important data is backed up online. As a result, most of the time, the phone and apps do not need to be reinstalled and configured. Save for the SMS database, but after what I've seen, it could still be recovered manually

Do I have to fix a broken AMOLED screen?

My cell phone slipped out of my hand recently (maybe a few weeks ago?) As I tried to lift it off a table and fly across the room. Despite the armor, the corner of the screen was shattered and there were some cracks around the smashed piece. The crashed part is about 0.4 inches wide and 0.3 inches high and is actually in the bezel, not on the screen itself, but there are three cracks crossing the screen. two connect and extend across the screen 1.7 "wide and 0.25" high, and the third connects to one of the other cracks halfway and extends to the edge of the screen 0.7 "from the bottom little or no glass from the shattered I have put a screen protector over the whole thing to protect my finger, which covers all but about 0.05 inches around the edge, although it is clear that it does not completely enclose the cracks ( he has the shadow of a bubble) the crack edges closest to the battered part.)

Everything is still working fine, and since the cracks are not particularly noticeable, I just wanted to use the phone until the end of its life, since the cost of repairing the device starts at nearly $ 300 and I still pay for the phone , However, when I investigated what would be needed to repair it myself, to save a few hundred dollars (which incidentally I feel after reading not technically adept enough not to risk damaging it and a whole day with it spend trying it), I found this note:

OLEDs no longer function when exposed to oxygen or moisture, and are therefore hermetically encapsulated (which is also why OLED panels turn black under a screen crack). There is no way to replace the front glass alone – the OLED layers are laminated to the glass.

There is currently no screen blackening under any of the cracks (it looks darker when you look at the cracks from the front, but it's the crack itself, at an angle where I can see the pixels underneath are all white). But I'm worried if the screen become start to go black someday. If so, how long will it take for it to appear for the first time, and at what speed will it blacken? How much of the screen will be affected? From what I've read, a new OLED with a spare screen does not affect the repair, but I'd like to decide now if I want to keep the phone or not – if it needs to be repaired nearby. In the future it might be better to sell it only while it still has some value, since it currently (inexplicably!) would actually be cheaper to pay off the phone and sell it with a broken screen than to try to fix it while it is in Operation is In the future, the repair price will remain the same, but the value of the phone will only decline.

Deployment – broken CSS / image links after move

I tried to fix a problem while moving my Drupal installation.

Some first information:

  • I use the Open Social module.

  • I used a localhost and a DNS to connect my Xampp to the same subdomain as I have now on my FTP server so that the links are the same.

  • I've currently disabled the CSS aggregation to see something, otherwise the CSS is completely broken.

It looks like my CSS and image links have been broken by moving my Drupal installation.

The only error I seem to get is "Error loading resource: The server has responded with status 500 (Internal server error)" in the console.

How I moved my Drupal installation:

  1. The database was backed up via phpmyadmin
  2. copied the insides of the folder "htdocs" of my xampp into a backup folder
  3. imported my database SQL Dump into the new database
  4. uploaded the files from the backup folder to my FTP
  5. The settings.php file has been customized to communicate with the database.

I am stuck in options because I do not know what causes this.

Installation – Content Moderation: The editorial workflow is not installed and the handler in the moderated content view is broken

I'm having trouble activating the content moderation module on a Drupal 8.7.8 site.

Everything seems fine during installation drush en content_moderation If finished without error, the workflow module is already activated.

After the installation, the editorial workflow is missing, but it is possible to create a new content moderation workflow.

All role permissions are available and the Moderation Status widget appears on nodes of the selected type. However, using the widget has no effect. Nodes are not published or published.

The content moderation database tables are created correctly (ie content_moderation_state and three others with similar names).

Also the view moderated_content shows "Handler defective / missing"where the filter criteria"Content revision: Moderation status (available)" and "Content revision: Moderation status (<> Published)"shall be.

Clicking the Defective / Missing Handler fields displays some details for the two broken handlers:

The handler for this item is broken or missing. The following details are available:
id: moderation_state_1
table: node_field_revision
field: moderation_state
relationship: none
group_type: group
admin_label:
operator: not in
group: 1
exposed:
is_grouped:
entity_type: node
plugin_id: moderation_state_filter
Enabling the appropriate module may solve this issue. Otherwise, check to see if there is a module update available.

The second field shows this information:

id: moderation_state
table: node_field_revision
field: moderation_state
relationship: none
group_type: group
admin_label:
operator: in
group: 1
exposed: 1
is_grouped:
entity_type: node
plugin_id: moderation_state_filter

I can not add any moderation-related fields like moderation status to the view. The fields do not appear in the Add Fields dialog box.

I have no problem setting up Content Moderation on a Vanilla Drupal 8.7.8 because it just fails on this existing site (same version).

I've already tried resetting the site and reinstalling workflows and content_moderation in several ways, both drush and manually. I have uninstalled all custom modules and patches and reinstalled content_moderation.

Are there any modules (other than Workbench) or settings that are known to cause content moderation issues?

Any ideas, what could cause the problem or where to start looking?

Many thanks!

Java Professor performs automatic tasks and his test code was broken. What should I do?

Last week I had to send an e-mail to my professor because his autograder expected a faulty output for the 100th index of the Fibonacci sequence. (I had to check if my correct answer was wrong, he could not argue with the mathematical truth and had to solve the test case for everyone.)

Fast forward to this week, and I come across the following question:

Ask the user for a filename and display the oldest for each car
Manufacturer from this file. "

Simple enough, the teacher provides a text file "cars-full.txt" so that I can compare its expected output with my own. However, he left out something important in his question, how do I find out which car in the record is "oldest" if two models from the same manufacturer share the same year?

Of course, I tried to email him and ask him before I asked that question. Basically, I was told to meet him in person (after the due date for the assignments was exceeded and I have 0% F).

I thought that my best course of action would be to reach out to other programmers here and see if they can tell from the input if my professor's output is invalid.

cars-full.txt

https://docs.google.com/document/d/e/2PACX-1vSUVIN3qY4MMItLLi8lgx-vsurWDEUAUEhSZ7_H1hBu2hPqDG9wabN42V-66p8ks85yEoXYnoG5xKVy/pub

And here's a screenshot of his expected output (left) and my output (right).

Enter image description here

As you can see, his test code expects the 1994 Land Rover Discovery to be issued in place of the 1994 Land Rover Defender. Because the list is sorted by brand, model and year, Defender prior to the discovery is in ascending alphabetical order and should be the output model.

So I decided, maybe I should reverse the order in the "model only" field for Discovery to spend instead. However, if I try, it will break the test case for another car, expecting the first model in ascending order. (Ferrari 612 Scaglietti 2008 will be replaced instead of the required Ferrari 599 GTB Fiorano 2008)

My theory is that my professor does not have the Land Rover Defender 1994 in his record, but the students get a version of cars-full.txt that contains this line. Here is my code:

public class Demo {
    public static void main(String() args) throws FileNotFoundException {

        Scanner keyboard = new Scanner(System.in);
        System.out.println("Enter filename");
        String input = keyboard.nextLine();
        File file = new File(input);
        Scanner scanner = new Scanner(file);
        scanner.nextLine();
        ArrayList list = new ArrayList<>();
        while (scanner.hasNextLine())
        {
            String() arr = scanner.nextLine().split("t");
            list.add(new Car(arr(0), arr(1), Integer.parseInt(arr(2))));
        }

        list.sort(Comparator.comparing(Car::getMake).thenComparing(Car::getModel).thenComparing(Car::getYear));

        System.out.println("Oldest cars by make");
        Car oldest = list.get(0);
        int count = 0;

        for (int i = 0; i < list.size() - 1; i++)
        {
            if (oldest == null)
            {
                oldest = list.get(i);
            }

            if (list.get(i).getYear() < oldest.getYear())
            {
                oldest = list.get(i);
            }

            if (!list.get(i).getMake().equals(list.get(i + 1).getMake()) || i == list.size() - 2)
            {
                System.out.println(String.format("%15s%25s%5s", oldest.getMake(), oldest.getModel(), oldest.getYear()));
                count++;
                oldest = null;
            }
        }

        System.out.println(count + " result(s)");
    }
}

public class Car {

    private String make;
    private String model;
    private int year;

    public Car(String make, String model, int year)
    {
        this.make = make;
        this.model = model;
        this.year = year;
    }

    public String getMake()
    {
        return make.toLowerCase();
    }

    public String getModel()
    {
        return model;
    }

    public int getYear()
    {
        return year;
    }

    @Override
    public String toString() {
        return make + " " + model + " " + year;
    }
}

Solutions of the broken Laplace equation

Consider the problem $$ (- Delta) ^ su + u = u ^ p text {in} mathbb R ^ N; u> 0 text {in} mathbb R ^ N $$ Where $ s in (0, 1) $ and $ N> 2s $ and $ p in (1, frac {N + 2s} {N-2s}) $,

It is known that in H ^ s ( mathbb R ^ N) there is a definite positive solution which decreases in the radial direction $ mathbb R ^ N. $

Is there a non-trivial solution to the problem that does not belong $ H ^ s ( mathbb R ^ N)? $

A trivial example is, for example, that there is a solution to the form $ u (x & 39 ;, x_ {N}) = u (x & # 39;) $; $ x & # 39; in mathbb R ^ {N-1} $ which does not belong $ H ^ s ( mathbb R ^ N). $