Debian 10 Unable to get list of packages

If none of the more specific forums is the right place to ask

Debian 10 Unable to get list of packages

Postby cvele » 2020-07-09 09:25

I'm getting unusual behavior with my Debian. I have skype installed, it's on version 8.61.0.95. Skype shows notification that there is an update. When I run sudo apt update && sudo apt upgrade it shows no updates and no errors.

Code: Select all
sudo apt update && sudo apt upgrade
Hit:1 http://ftp.fsn.hu/debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease                     
Hit:3 http://repo.mysql.com/apt/debian buster InRelease                       
Hit:4 http://ftp.fsn.hu/debian buster-updates InRelease                       
Hit:5 https://repo.skype.com/deb stable InRelease                             
Hit:6 http://dl.google.com/linux/chrome/deb stable InRelease                   
Hit:7 https://deb.nodesource.com/node_12.x buster InRelease                   
Hit:8 https://download.mono-project.com/repo/debian vs-buster InRelease       
Hit:9 https://download.sublimetext.com apt/stable/ InRelease                   
Hit:10 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
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.


But when I try to check for updates from Software, i get error "Unable to get list of packages." There's an image in attachment.
I also tried to download skype from their website and run installation, but it shows the same version as the one installed.
Then I tried removing all sources from sources.list.d and choosing main server for updates, but I still get this error, Unable to get list of packages.
User avatar
cvele
 
Posts: 12
Joined: 2014-01-09 22:13


Re: Debian 10 Unable to get list of packages

Postby cvele » 2020-07-09 12:06

Yes, it's the most recent version. I'm not so concerned about skype, I'm more concerned about Software app reporting error while there's no error in console :)
User avatar
cvele
 
Posts: 12
Joined: 2014-01-09 22:13

Re: Debian 10 Unable to get list of packages

Postby cds60601 » 2020-07-09 13:21

cvele wrote:But when I try to check for updates from Software, i get error "Unable to get list of packages." There's an image in attachment.
I also tried to download skype from their website and run installation, but it shows the same version as the one installed.
Then I tried removing all sources from sources.list.d and choosing main server for updates, but I still get this error, Unable to get list of packages.


Have you also looked at the actual source file?
Also - why on earth would you be mixing Jessie and Buster. You do realize that you could be messing up your buster system by mixing versions of files/libs/etc.
Server: Debian 10, Workstation: Debian Sid (BSPWM)
Laptop: Debian Sid (BSPWM)
----------------------------------------------------------------------------------
Don't Break Debian: https://wiki.debian.org/DontBreakDebian
User avatar
cds60601
 
Posts: 199
Joined: 2017-11-25 05:58
Location: Tampa, Florida

Re: Debian 10 Unable to get list of packages

Postby cvele » 2020-07-09 13:33

I'm not mixing Jessie and Buster, that's source was added when I installed Slack.
User avatar
cvele
 
Posts: 12
Joined: 2014-01-09 22:13

Re: Debian 10 Unable to get list of packages

Postby RU55EL » 2020-07-09 16:27

You should not mix 'buster' and 'stable', you should use one or the other, but not both. And you should not mix 'buster' and 'jessie'. That is what as known as FrankenDebian. Even if it is not from the Debian repositories. In fact, I wouldn't install from anywhere other than the Debian repositories.

sudo apt update && sudo apt upgrade
Hit:1 http://ftp.fsn.hu/debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://repo.mysql.com/apt/debian buster InRelease
Hit:4 http://ftp.fsn.hu/debian buster-updates InRelease
Hit:5 https://repo.skype.com/deb stable InRelease
Hit:6 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:7 https://deb.nodesource.com/node_12.x buster InRelease
Hit:8 https://download.mono-project.com/repo/debian vs-buster InRelease
Hit:9 https://download.sublimetext.com apt/stable/ InRelease
Hit:10 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Reading package lists... Done


If this were my machine I would perform a clean re-install and use the following /etc/apt/sources.list. Assuming you want Debian stable.

Code: Select all
deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free

deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free

deb http://deb.debian.org/debian buster-updates main contrib non-free
deb-src http://deb.debian.org/debian buster-updates main contrib non-free
User avatar
RU55EL
 
Posts: 481
Joined: 2014-04-07 03:42
Location: /home/russel

Re: Debian 10 Unable to get list of packages

Postby cds60601 » 2020-07-09 17:31

cvele wrote:I
Code: Select all
sudo apt update && sudo apt upgrade
Hit:1 http://ftp.fsn.hu/debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease                     
Hit:3 http://repo.mysql.com/apt/debian buster InRelease                       
Hit:4 http://ftp.fsn.hu/debian buster-updates InRelease                       
Hit:5 https://repo.skype.com/deb stable InRelease                             
Hit:6 http://dl.google.com/linux/chrome/deb stable InRelease                   
Hit:7 https://deb.nodesource.com/node_12.x buster InRelease                   
Hit:8 https://download.mono-project.com/repo/debian vs-buster InRelease       
Hit:9 https://download.sublimetext.com apt/stable/ InRelease                   
Hit:10 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease



I'll be the first to admit I am not a fan of Flatpacks or Snaps. With that, take my question with a grain of salt since I have never used either; With all that out of the way, have you at least considered the use of them over adding unsupported Debian repos to your system?
Server: Debian 10, Workstation: Debian Sid (BSPWM)
Laptop: Debian Sid (BSPWM)
----------------------------------------------------------------------------------
Don't Break Debian: https://wiki.debian.org/DontBreakDebian
User avatar
cds60601
 
Posts: 199
Joined: 2017-11-25 05:58
Location: Tampa, Florida


Return to General Questions

Who is online

Users browsing this forum: No registered users and 23 guests

fashionable