[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upgrade all "kept back" packages



Hi Bob,

On 10 November 2013 14:26, Bob Proulx <bob@proulx.com> wrote:

> First verify your sources.list file.  I didn't see where you said what
> version of Debian you were using.  Stable Wheezy, Testing Jessie, or
> Unstable Sid.  Whatever.  Make sure it is consistent.  Then:
>
>   # apt-get install apt-show-versions
>   $ apt-show-versions | grep -v uptodate


Nice command. It shows me I still have "squeeze" on my system. I'm not
quite sure what to do with this response:

#  apt-show-versions | grep -v uptodate

deb-multimedia-keyring 2012.05.10-dmo3 newer than version in archive
live-initramfs 2.0.15-1 newer than version in archive
vlc-nox/wheezy upgradeable from 2.0.3-5 to 1:2.0.1-0.6


doc-linux-text 2008.08-1 installed: No available version in archive
epson-inkjet-printer-201215w 1.0.0-1lsb3.2 installed: No available
version in archive
kde 5:66 installed: No available version in archive
kdebase 5:66 installed: No available version in archive
kerneloops 0.12+git20090217-1 installed: No available version in archive
libarchive1 2.8.4.forreal-1+squeeze2 installed: No available version in archive
libbind9-60 1:9.7.3.dfsg-1~squeeze8 installed: No available version in archive
libboost-iostreams1.42.0 1.42.0-4 installed: No available version in archive
libc6-i686 2.13-38 installed: No available version in archive
libdb4.6 4.6.21-16 installed: No available version in archive
libdb4.7 4.7.25-9 installed: No available version in archive
libdb4.8 4.8.30-2 installed: No available version in archive
libdns69 1:9.7.3.dfsg-1~squeeze8 installed: No available version in archive
libevent-1.4-2 1.4.13-stable-1 installed: No available version in archive
libhsqldb-java-gcj 1.8.0.10-9 installed: No available version in archive
libisc62 1:9.7.3.dfsg-1~squeeze8 installed: No available version in archive
libisccc60 1:9.7.3.dfsg-1~squeeze8 installed: No available version in archive
libisccfg62 1:9.7.3.dfsg-1~squeeze8 installed: No available version in archive
libkadm5clnt-mit7 1.8.3+dfsg-4squeeze6 installed: No available version
in archive
libkadm5srv-mit7 1.8.3+dfsg-4squeeze6 installed: No available version in archive
libkdb5-4 1.8.3+dfsg-4squeeze6 installed: No available version in archive
liblwres60 1:9.7.3.dfsg-1~squeeze8 installed: No available version in archive
liblzma2 5.0.0-2 installed: No available version in archive
libmpich1.0gf 1.2.7-9.1 installed: No available version in archive
libmysqlclient16 5.1.66-0+squeeze1 installed: No available version in archive
libnotify1 0.5.0-2 installed: No available version in archive
libqt3-mt 3:3.3.8b-7+b1 installed: No available version in archive
libssl0.9.8 0.9.8o-4squeeze13 installed: No available version in archive
libtokyocabinet8 1.4.37-6 installed: No available version in archive
mpich-bin 1.2.7-9.1 installed: No available version in archive
skype 4.2.0.11-1 installed: No available version in archive




>
> That should show information about packages that do not match what is
> in the selected sources.list archives.  I suspect that you will find
> the answer in the output.
>
> If not then I would dig deeper by using apt-cache to show current and
> available versions.
>
>   apt-cache policy mplayer
>   apt-cache policy vlc
>   apt-cache policy ...
>

mplayer is uninstalled for now. The only problem I see is vlc.

# apt-cache policy vlc-nox
vlc-nox:
  Installed: 2.0.3-5
  Candidate: 1:2.0.1-0.6
  Version table:
     1:2.0.1-0.6 0
        500 http://www.las.ic.unicamp.br/pub/debian-multimedia/
wheezy/main amd64 Packages
 *** 2.0.3-5 0
        500 http://ftp.br.debian.org/debian/ wheezy/main amd64 Packages
        100 /var/lib/dpkg/status





> *If* that is the problem then how to fix?  There are many ways and it
> depends upon your exact situation.  You could remove the entire list
> of packages from the apt-show-versions | grep -v uptodate list after
> inspecting it and cleaning it of other unrelated packages.

I wish I could do just that. But the list has:

kde, kdebase...


Now this command won't work:

# apt-get install vlc-nox=1:2.0.1-0.6
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:
 vlc-nox : Depends: libcdio10 but it is not installable
           Depends: libiso9660-7 but it is not installable
           Depends: libupnp3 (>= 1.4.3) but it is not installable
E: Unable to correct problems, you have held broken packages.



And now I'm afraid to boot because of this error:




# apt-get remove live-initramfs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  camstream-doc libmysqlclient16 libstdc++5 live-boot
live-boot-initramfs-tools live-config live-config-sysvinit
  ttf-kochi-gothic ttf-sazanami-mincho wx-common
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  live-initramfs
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 32.8 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 324511 files and directories currently installed.)
Removing live-initramfs ...


# apt-get install live-initramfs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  camstream-doc libmysqlclient16 libstdc++5 live-boot
live-boot-initramfs-tools live-config live-config-sysvinit
  ttf-kochi-gothic ttf-sazanami-mincho wx-common
Use 'apt-get autoremove' to remove them.
Suggested packages:
  loop-aes-utils curlftpfs genext2fs httpfs2 squashfs-tools mtd-tools
unionfs-fuse
The following NEW packages will be installed:
  live-initramfs
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 112 kB of archives.
After this operation, 512 kB of additional disk space will be used.
Get:1 http://packages.linuxmint.com/ debian/import live-initramfs all
1.236.2-1 [112 kB]
Fetched 112 kB in 5s (19.2 kB/s)
Selecting previously unselected package live-initramfs.
(Reading database ... 324509 files and directories currently installed.)
Unpacking live-initramfs (from .../live-initramfs_1.236.2-1_all.deb) ...
dpkg: error processing
/var/cache/apt/archives/live-initramfs_1.236.2-1_all.deb (--unpack):
 trying to overwrite '/usr/share/initramfs-tools/hooks/live', which is
also in package live-boot-initramfs-tools 3.0.1-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64
live-boot: core filesystems devices utils memdisk udev wget blockdev.
Errors were encountered while processing:
 /var/cache/apt/archives/live-initramfs_1.236.2-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



# cat /var/log/dpkg.log | tail

2013-11-10 15:06:24 startup archives unpack
2013-11-10 15:06:24 install live-initramfs:all <none> 1.236.2-1
2013-11-10 15:06:24 status triggers-pending initramfs-tools:all 0.109.1
2013-11-10 15:06:24 status not-installed live-initramfs:all <none>
2013-11-10 15:06:24 status half-installed live-initramfs:all 1.236.2-1
2013-11-10 15:06:25 status not-installed live-initramfs:all <none>
2013-11-10 15:06:25 trigproc initramfs-tools:all 0.109.1 0.109.1
2013-11-10 15:06:25 status half-configured initramfs-tools:all 0.109.1
2013-11-10 15:06:34 status installed initramfs-tools:all 0.109.1


Is this ok to boot yet? Or do I need to do something urgent before
attempt to boot?

Thanks any help.

Beco.




-- 
Dr Beco
A.I. researcher

"For the things we have to learn before we can do them, we learn by
doing them" (Aristotle)


Reply to: