On Mon, Apr 22, 2013 at 06:26:45PM +0200, Hans-J. Ullrich wrote:
> 
> You can then apt-get update again and then update as normal. To clear the 
> database you may also try "dpkg --clear-avail", then do a new "apt-get 
> update".

Will that work? AFAIR, dpkg only knows about locally installed packages,
so I wouldn't recommend the "dpkg --clear-avail" command.

In situations where I have installed a foreign package, (i.e. one that
isn't the sources list) I've never bothered messing with dpkg's
knowledge of the system, it just does the right thing.

e.g.

root@tal:~# apt-cache policy fahclient
fahclient:
  Installed: 7.1.52
  Candidate: 7.1.52
  Version table:
 *** 7.1.52 0
        100 /var/lib/dpkg/status

IOW, what does an "apt-get update" do after a "dpkg --clear-avail"?

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130423074615.GA5374@tal

Reply via email to