Can't install packages

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

Can't install packages

Postby vkucera » 2018-10-21 11:01

I've been using debian for a couple of weeks now. Today I ran into a problem, when I try to install a package with apt I always get this message.
For instance installing xscreensaver
Code: Select all
W: APT had planned for dpkg to do more than it reported back (0 vs 14).
   Affected packages: install-info:amd64 xscreensaver-data:amd64 xscreensaver:amd64

(aptitude or synaptic also don't work)
vkucera
 
Posts: 2
Joined: 2018-10-21 10:28

Re: Can't install packages

Postby cronoik » 2018-10-21 11:38

Hi,
please give us always a complete terminal output (command + output). Which version of debian do you use? PLease show us the output of:
Code: Select all
apt-cache policy


It could be something like this [1] but we need some more information :)

[1] viewtopic.php?f=10&t=138230
Have a nice day!
cronoik
 
Posts: 288
Joined: 2015-05-20 21:17

Re: Can't install packages

Postby debiman » 2018-10-21 12:57

as it stands this is just a warning.
something actually not working as it should?
please provide the output requested.
User avatar
debiman
 
Posts: 3064
Joined: 2013-03-12 07:18

Re: Can't install packages

Postby vkucera » 2018-10-21 16:32

I use Debian 9.50
Command:
Code: Select all
$ sudo apt install xscreensaver

Output
Code: Select all
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  xscreensaver-data
Suggested packages:
  xfishtank xdaliclock xscreensaver-data-extra xscreensaver-gl
  xscreensaver-gl-extra fortune qcam | streamer gdm3 | kdm-gdmcompat
Recommended packages:
  perl5
The following NEW packages will be installed:
  xscreensaver xscreensaver-data
0 upgraded, 2 newly installed, 0 to remove and 7 not upgraded.
1 not fully installed or removed.
Need to get 0 B/887 kB of archives.
After this operation, 3,942 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
W: APT had planned for dpkg to do more than it reported back (0 vs 14).
   Affected packages: install-info:amd64 xscreensaver-data:amd64 xscreensaver:amd64

Code: Select all
apt-cache policy

Output:
Code: Select all
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://repository.spotify.com stable/non-free amd64 Packages
     release v=0.4,o=Spotify LTD,a=stable,n=stable,l=Spotify Public Repository,c=non-free,b=amd64
     origin repository.spotify.com
 500 http://httpredir.debian.org/debian jessie/non-free amd64 Packages
     release v=8.11,o=Debian,a=oldstable,n=jessie,l=Debian,c=non-free,b=amd64
     origin httpredir.debian.org
 500 http://httpredir.debian.org/debian jessie/contrib amd64 Packages
     release v=8.11,o=Debian,a=oldstable,n=jessie,l=Debian,c=contrib,b=amd64
     origin httpredir.debian.org
 500 http://httpredir.debian.org/debian jessie/main amd64 Packages
     release v=8.11,o=Debian,a=oldstable,n=jessie,l=Debian,c=main,b=amd64
     origin httpredir.debian.org
 100 http://httpredir.debian.org/debian stretch-backports/non-free amd64 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=non-free,b=amd64
     origin httpredir.debian.org
 100 http://httpredir.debian.org/debian stretch-backports/contrib amd64 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=contrib,b=amd64
     origin httpredir.debian.org
 100 http://httpredir.debian.org/debian stretch-backports/main amd64 Packages
     release o=Debian Backports,a=stretch-backports,n=stretch-backports,l=Debian Backports,c=main,b=amd64
     origin httpredir.debian.org
 500 http://ftp.de.debian.org/debian stretch-updates/main amd64 Packages
     release o=Debian,a=stable-updates,n=stretch-updates,l=Debian,c=main,b=amd64
     origin ftp.de.debian.org
 500 http://security.debian.org/debian-security stretch/updates/non-free amd64 Packages
     release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=non-free,b=amd64
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/contrib amd64 Packages
     release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=contrib,b=amd64
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
     release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=amd64
     origin security.debian.org
 500 http://ftp.de.debian.org/debian stretch/non-free amd64 Packages
     release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=non-free,b=amd64
     origin ftp.de.debian.org
 500 http://ftp.de.debian.org/debian stretch/contrib amd64 Packages
     release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=contrib,b=amd64
     origin ftp.de.debian.org
 500 http://ftp.de.debian.org/debian stretch/main amd64 Packages
     release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
     origin ftp.de.debian.org
Pinned packages:
vkucera
 
Posts: 2
Joined: 2018-10-21 10:28

Re: Can't install packages

Postby bw123 » 2018-10-21 16:52

duck
User avatar
bw123
 
Posts: 3578
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Can't install packages

Postby GarryRicketson » 2018-10-21 16:59

Image
"Quack, quack "

Please read: https://wiki.debian.org/DontBreakDebian

With the mixed combination of Debian Jessie, and current Debian Stretch, things can not work as expected. Since you have only been using Debian a couple of weeks, my suggestion is to make copies / back up any data that you want to save, and then read some more documentation on Debian, including the above link. After you do all that, re-install the current stable version of Debian, Stretch 9.5, and start fresh with a clean system. Some people with a lot of experience can and do manage to keep a mixed up system (FrankenDebian), but most Debian users with even more experience do not do this, it gets complicated.
User avatar
GarryRicketson
 
Posts: 5192
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Can't install packages

Postby stevepusser » 2018-10-21 18:25

So I'm waiting for a jpg of FrankenDuckian now?

I'm throwing this in the bin of 99% of these types of problems being due to unsane sources, too.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10276
Joined: 2009-10-06 05:53

Re: Can't install packages

Postby None1975 » 2018-10-22 15:46

You have gigantic frankendebian :D
Image
User avatar
None1975
 
Posts: 702
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius


Return to General Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable