LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Problem after upgrading to Buster from Stretch (https://www.linuxquestions.org/questions/debian-26/problem-after-upgrading-to-buster-from-stretch-4175658508/)

joseph_lewis 08-03-2019 01:15 AM

Problem after upgrading to Buster from Stretch
 
Hello everyone,

I'm using Debian for personal PC. I moved into linux January 2019. Until then I used windows versions. I didn't face any problem before upgrading. I used Stretch version. I updated my debian stretch to buster on 01 August 2019. I didn't knew that there are specific ways to do that, I like using terminal for that sorts of stuff, so I opened terminal type below commands,

01. sudo apt-get update
02. sudo apt-get upgrade

There were about 400MB. After that, some icons had changed. I first noticed nautilus icon on docker changed. So I closed nautilus and tried to open it. But I couldn't. So then I tried to open nautilus through terminal. It gives me below error message,

bash: nautilus: command not found

So then I tried to run different commands, "ls, ls, hibernate, etc..." and non of them works. I started searching on the internet to fix these problems. I didn't find a good solution for nautilus fix. So I installed "Thunar" file manager for temporarily. Then I found a solution for the commands not working error I have, I tried "/bin/ls", and it worked. But not all, still there are lots of commands that not working.

I tried different ways and different solutions to fix my nautilus problem. I'll post below what I see with the commands I give,

root@joseph:/home/joseph# nautilus
bash: nautilus: command not found
root@joseph:/home/joseph# apt-get install nautilus
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
nautilus : Depends: libc6 (>= 2.29) but 2.28-10 is to be installed
Depends: libunity9 (>= 3.4.6) but it is not installable
E: Unable to correct problems, you have held broken packages.
root@joseph:/home/joseph# apt-get reinstall nautilus
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
nautilus : Depends: libc6 (>= 2.29) but 2.28-10 is to be installed
Depends: libunity9 (>= 3.4.6) but it is not installable
E: Unable to correct problems, you have held broken packages.
root@joseph:/home/joseph# apt-get install libc6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6 is already the newest version (2.28-10).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@joseph:/home/joseph# apt-get install libunity9
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libunity9 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libunity9' has no installation candidate

I tried to install gnome to see if it will show me any errors.,

root@joseph:/home/joseph# apt-get install gnome
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
gnome : Depends: gnome-core (= 1:3.30+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@joseph:/home/joseph# apt-get install gnome-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
gnome-core : Depends: nautilus (>= 3.30) but it is not going to be installed
Depends: gnome-sushi (>= 3.30) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@joseph:/home/joseph# apt-get install gnome-sushi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
gnome-sushi : Depends: nautilus (>= 3.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

After that, I found a guide to upgrade to buster from stretch. (https://linuxconfig.org/how-to-upgra...bian-10-buster) I checked it and I found, that I need to update the source.list before upgrading. So then I updated the source list and upgraded again. It downloads about 400MB again. But problems still there. It's still the same.

I have no I idea how can I fix this problem. I'm pretty sure that there must be a way to fix these problems without reinstalling the system. But I really really need to fix this somehow without reinstalling.

Feel free to ask me any question and I'll try my best to co-operate with you.

Thank you.

Timothy Miller 08-03-2019 01:21 AM

So, give us the output of these commands, run in this order:

Code:

cat /etc/apt/sources.list
ls /etc/apt/sources.list.d/
ls /etc/apt/preferences.d/
apt update
apt upgrade
apt full-upgrade


joseph_lewis 08-03-2019 01:30 AM

Thanks for the quick reply :)
 
Code:

root@joseph:/home/joseph# cat /etc/apt/sources.list
#

# deb cdrom:[Official Debian GNU/Linux Live 9.6.0 gnome 2018-11-10T11:54]/ stretch main

# deb cdrom:[Official Debian GNU/Linux Live 9.6.0 gnome 2018-11-10T11:54]/ stretch main

# Line commented out by installer because it failed to verify:
deb http://security.debian.org/debian-security stretch/updates main
# Line commented out by installer because it failed to verify:
deb-src http://security.debian.org/debian-security stretch/updates main

# stretch-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
#deb http://deb.debian.org/debian/ stretch-updates main
#deb-src http://deb.debian.org/debian/ stretch-updates main

#deb http://ppa.launchpad.net/gns3/ppa/ubuntu xenial main
#deb-src http://ppa.launchpad.net/gns3/ppa/ubuntu xenial main

deb http://httpredir.debian.org/debian stable main contrib
deb-src http://httpredir.debian.org/debian stable main contrib

deb http://httpredir.debian.org/debian buster main
deb http://httpredir.debian.org/debian buster-updates main
deb http://security.debian.org buster/updates main


Code:

root@joseph:/home/joseph# ls /etc/apt/sources.list.d/
atareao-ubuntu-telegram-disco.list                      google-chrome.list.save
atareao-ubuntu-telegram-disco.list.save                      home:smplayerdev.list
base.list                                              home:smplayerdev.list.save
base.list.save                                              lubomir-brindza-ubuntu-nautilus-typeahead-disco.list
dockbar-main-ubuntu-ppa-disco.list                      lubomir-brindza-ubuntu-nautilus-typeahead-disco.list.save
dockbar-main-ubuntu-ppa-disco.list.save                      nilarimogard-ubuntu-webupd8-eoan.list
fossfreedom-ubuntu-rhythmbox-plugins-disco.list      playonlinux.list
fossfreedom-ubuntu-rhythmbox-plugins-disco.list.save  playonlinux.list.save
google-chrome.list

Code:

root@joseph:/home/joseph# ls /etc/apt/preferences.d/
"above command gives me nothing."

Code:

root@joseph:/home/joseph# apt update
Ign:1 http://download.opensuse.org/repositories/home:/smplayerdev/Debian_9.0  InRelease                                           
Hit:2 http://download.opensuse.org/repositories/home:/smplayerdev/Debian_9.0  Release                                             
Get:3 http://download.opensuse.org/repositories/home:/smplayerdev/Debian_9.0  Release.gpg [481 B]                                 
Ign:3 http://download.opensuse.org/repositories/home:/smplayerdev/Debian_9.0  Release.gpg                                         
Ign:7 http://dl.google.com/linux/chrome/deb stable InRelease                                                                     
Hit:8 http://dl.google.com/linux/chrome/deb stable Release                                                                       
Ign:10 http://ppa.launchpad.net/dockbar-main/ppa/ubuntu disco InRelease                                                           
Ign:11 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu eoan InRelease                                                       
Get:12 http://ppa.launchpad.net/atareao/telegram/ubuntu disco InRelease [15.4 kB]                                                 
Err:12 http://ppa.launchpad.net/atareao/telegram/ubuntu disco InRelease                                                           
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6A9653F936FD5529
Err:13 http://ppa.launchpad.net/dockbar-main/ppa/ubuntu disco Release                                                             
  404  Not Found [IP: 91.189.95.83 80]
Get:14 http://ppa.launchpad.net/fossfreedom/rhythmbox-plugins/ubuntu disco InRelease [15.4 kB]                                   
Err:14 http://ppa.launchpad.net/fossfreedom/rhythmbox-plugins/ubuntu disco InRelease                                             
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 82EB5823F4FE239D
Get:15 http://ppa.launchpad.net/lubomir-brindza/nautilus-typeahead/ubuntu disco InRelease [15.9 kB]                               
Err:15 http://ppa.launchpad.net/lubomir-brindza/nautilus-typeahead/ubuntu disco InRelease                                         
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 301F60F1D6A30942
Err:16 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu eoan Release                                                         
  404  Not Found [IP: 91.189.95.83 80]
Hit:17 http://deb.playonlinux.com stretch InRelease                                                                               
Hit:4 http://cdn-fastly.deb.debian.org/debian stable InRelease                                                                   
Hit:5 http://cdn-fastly.deb.debian.org/debian buster InRelease                     
Get:6 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease [46.8 kB]   
Ign:20 http://ftp.snt.utwente.nl/debian stretch InRelease                                                                         
Hit:21 http://ftp.snt.utwente.nl/debian stretch Release                                                                           
Hit:18 http://security-cdn.debian.org/debian-security stretch/updates InRelease                                                   
Hit:19 http://security-cdn.debian.org buster/updates InRelease
Reading package lists... Done
W: GPG error: http://download.opensuse.org/repositories/home:/smplayerdev/Debian_9.0  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6FD77D5EDF966437
E: The repository 'http://download.opensuse.org/repositories/home:/smplayerdev/Debian_9.0  Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ppa.launchpad.net/atareao/telegram/ubuntu disco InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6A9653F936FD5529
E: The repository 'http://ppa.launchpad.net/atareao/telegram/ubuntu disco InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/dockbar-main/ppa/ubuntu disco Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ppa.launchpad.net/fossfreedom/rhythmbox-plugins/ubuntu disco InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 82EB5823F4FE239D
E: The repository 'http://ppa.launchpad.net/fossfreedom/rhythmbox-plugins/ubuntu disco InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ppa.launchpad.net/lubomir-brindza/nautilus-typeahead/ubuntu disco InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 301F60F1D6A30942
E: The repository 'http://ppa.launchpad.net/lubomir-brindza/nautilus-typeahead/ubuntu disco InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu eoan Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Code:

root@joseph:/home/joseph# apt upgrade
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Code:

root@joseph:/home/joseph# apt full-upgrade
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


ondoho 08-05-2019 05:00 AM

What you really want is a "dist-upgrade" - the normal upgrade should be done regularly.
Do not run everything as root!
Maybe don't use the terminal at all?
Do you understand the meaning of "Leave well enough alone" and "Don't fix what isn't broken"?
Don't mess with the defaults unless you're 100% sure you know what you're doing.

Generally speaking I get the impression that a hands-on distro like debian is not right for you.
Try Linux Mint or Ubuntu (Lubuntu, Xubuntu) instead, it will make maintenance & upgrading a little easier.

joseph_lewis 08-05-2019 05:09 AM

Thank you ondoho
 
I did run "dist-upgrade". But it didn't fix my problem.

I normally use sudo for these kind of commands. But for here, I knew what will be the results, so I run them as root.

I'm not afraid of breaking this. If this broken, I can find a way to fix and I learn more and more from it.

Thank you so much for your reply ondoho. :)

joseph_lewis 08-05-2019 05:12 AM

Hello Timothy Miller...

I replied to your post two times. But my reply didn't appear here. Is it because of the text I'm typing? I just copy and paste here command outputs.

Timothy Miller 08-05-2019 08:27 AM

Try putting them inside the code tags such as I did. Probably too large a reply without them.

joseph_lewis 08-05-2019 09:20 PM

ah now there is the reply. Right after your requested message. I placed it in code tags. Don't know why it takes too much time to appear. But now it's here. :) Thanks Miller. :)

Timothy Miller 08-05-2019 11:36 PM

Ok, so your problem is almost definitely due to some of your 3rd party repos/ppa's. Looks like buster is properly installed without any issues for the base system. You should probably clean up the sources.list though, as you've still got references to stretch there, there's pppa's in there (commented out at least), there's a definite possibility of that EVENTUALLY causing issues.

That said, do this. Create a directory (doesn't matter where), and do as root
Code:

mv /etc/apt/sources.list.d/* /the/directory/you/created/
apt update
apt install nautilus


joseph_lewis 08-05-2019 11:46 PM

Thanks Miller...
 
I've done as you said.

Code:

root@joseph:/home/joseph# apt update
Hit:1 http://security-cdn.debian.org/debian-security stretch/updates InRelease   
Hit:2 http://security-cdn.debian.org buster/updates InRelease
Hit:3 http://cdn-fastly.deb.debian.org/debian stable InRelease   
Hit:4 http://cdn-fastly.deb.debian.org/debian buster InRelease
Get:5 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease [46.8 kB]
Fetched 46.8 kB in 10s (4,918 B/s)                                                                                               
Reading package lists... Done
Building dependency tree     
Reading state information... Done
All packages are up to date.

Code:

root@joseph:/home/joseph# apt install nautilus
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nautilus : Depends: libnautilus-extension1a (= 3.30.5-2) but 1:3.32.1-0ubuntu0.19.04.0ppa1 is to be installed
            Recommends: gnome-sushi but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

And there's a new problem.

I ran apt upgrade and apt dist-upgrade after above results. But there's nothing. If that's some help for you.

Code:

root@joseph:/home/joseph# apt upgrade
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@joseph:/home/joseph# apt dist-upgrade
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@joseph:/home/joseph#


evo2 08-06-2019 01:19 AM

Hi,

it seems you still have an Ubuntu ppa in your sources.
Quote:

Code:

The following packages have unmet dependencies:
 nautilus : Depends: libnautilus-extension1a (= 3.30.5-2) but 1:3.32.1-0ubuntu0.19.04.0ppa1 is to be installed
            Recommends: gnome-sushi but it is not going to be installed


For a default Buster system, basically you want:
Code:

deb http://httpredir.debian.org/debian buster main contrib
deb http://httpredir.debian.org/debian buster-updates main
deb http://security.debian.org buster/updates main

All of this is covered in the Buster release notes. See https://www.debian.org/releases/bust...pgrade-process

Evo2.

joseph_lewis 08-06-2019 02:19 AM

Thanks evo
 
I tried as you said, but the problem still the same.

Code:

root@joseph:/home/joseph# apt update
Hit:2 http://cdn-fastly.deb.debian.org/debian buster InRelease                                 
Hit:1 http://security-cdn.debian.org buster/updates InRelease
Hit:3 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease
Get:4 http://cdn-fastly.deb.debian.org/debian buster/contrib i386 Packages [46.9 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian buster/contrib amd64 Packages [51.0 kB]                                             
Get:6 http://cdn-fastly.deb.debian.org/debian buster/contrib Translation-en [44.7 kB]                                             
Get:7 http://cdn-fastly.deb.debian.org/debian buster/contrib amd64 DEP-11 Metadata [11.5 kB]                                     
Get:8 http://cdn-fastly.deb.debian.org/debian buster/contrib DEP-11 48x48 Icons [56.4 kB]                                         
Get:9 http://cdn-fastly.deb.debian.org/debian buster/contrib DEP-11 64x64 Icons [110 kB]                                         
Fetched 321 kB in 1min 42s (3,137 B/s)                                                                                           
Reading package lists... Done
Building dependency tree     
Reading state information... Done
All packages are up to date.

It downloaded some files. But nothing changed.

Code:

root@joseph:/home/joseph# apt upgrade
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@joseph:/home/joseph# apt install nautilus
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nautilus : Depends: libnautilus-extension1a (= 3.30.5-2) but 1:3.32.1-0ubuntu0.19.04.0ppa1 is to be installed
            Recommends: gnome-sushi but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


evo2 08-06-2019 02:31 AM

Ok, you need to purge the third party packages. The following may help you find them.
Code:

dpkg -l | grep -Ei 'ubuntu|ppa'
Evo2.

joseph_lewis 08-06-2019 02:39 AM

Thanks Evo
 
I found these,

Code:

root@joseph:/home/joseph# dpkg -l | grep -Ei 'ubuntu|ppa'
ii  apparmor                              2.13.2-10                            amd64        user-space parser utility for AppArmor
ii  libapparmor1:amd64                    2.13.2-10                            amd64        changehat AppArmor library
ii  libnautilus-extension1a:amd64          1:3.32.1-0ubuntu0.19.04.0ppa1        amd64        libraries for nautilus components - runtime version

What should I do now Evo?

evo2 08-06-2019 02:46 AM

Hi,

ok it looks like you just need to get rid of libnautilus-extension1a. So:
Code:

apt purge libnautilus-extension1a
After that you should be able to install nautilus. If not please show what happened, and also the output of the following two commands:
Code:

dpkg --audit
dpkg --get-selections | grep -w hold

Evo2.

P.S. Are you still having problems with finding basic commands like "ls" in your user account? It seems like your PATH environment variable got messed up somehow.


All times are GMT -5. The time now is 07:18 PM.