Refetching an installed package, lost from /var/cache/apt/archives/?

Erik Christiansen erik at dd.nec.com.au
Tue Oct 31 01:32:08 UTC 2006


On Mon, Oct 30, 2006 at 05:13:58PM +0100, Ulrich Steffens wrote:
> > 
> is it silly if i ask 
> 'have you tried removing xpdf instead of xpdf-reader?'
> 
> 'apt-cache show xpdf' says that the package is only for reasons of
> compatibility with older versions and can be removed safely.

Vielen Dank, Ulrich.

Trying:

# apt-get remove xpdf

has no effect on the xpdf package, but did leave xpdf-reader as
"remove desired", but "status installed":

dpkg -l xpdf-reader xpdf
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                 Version              Description
+++-====================-====================-=====================================
ii  xpdf                 3.01-1ubuntu1        Portable Document Format (PDF) suite
ri  xpdf-reader          3.01-1ubuntu1        Portable Document Format (PDF) suite -- viewer for X11

During the remove attempt, there were no xpdf unmet dependencies, just the
unrelated libborqt one:

# apt-get remove xpdf
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  libborqt: Depends: xlibs (> 4.1.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

OK, trying that:

root at dvalin:~# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  xlibs
The following NEW packages will be installed:
  xlibs
0 upgraded, 1 newly installed, 0 to remove and 29 not upgraded.
1 not fully installed or removed.
Need to get 91.8kB of archives.
After unpacking 291kB of additional disk space will be used.
Do you want to continue [Y/n]?
WARNING: The following packages cannot be authenticated!
  xlibs
Install these packages without verification [y/N]? 
E: Some packages could not be authenticated

OK, no matter, my libborqt doesn't actually need xlibs, so what the heck. :-)

Is there some way to tell apt-get to not become distracted with unrelated
matters, but instead do what is asked, I wonder? (A specific version of
libborqt has been downloaded from other sources, to support my Bitscope
oscilloscope. apt-get was not involved, and should take no interest.)

Erik




More information about the ubuntu-users mailing list