"=?utf-8?Q?J=C3=A9r=C3=B4me_Marant?=" <[EMAIL PROTECTED]> writes:
> Goswin von Brederlow <[EMAIL PROTECTED]> writes: > >> I'm assuming you want this for your normal system and not for a build >> chroot. Always build packages for upload in a clean environment one >> last time before upload. >> >> So here we go, way 2 (from memory): >> >> # Mark all old packages >> mv /var/lib/dpkg/status /var/lib/dpkg/status~ >> sed 's/Status:/Unofficial: yes\nStatus:/' </var/lib/dpkg/status~ >> >/var/lib/dpkg/status >> >> # reinstall >> apt-get clean >> dpkg --get-selections |grep -v deinstall | sed -e 's/\t.*//' \ >> | xargs -n1 apt-get --reinstall install >> >> # check output for obsolete or missing packages >> # optimaly there should be none >> grep-dctrl -P Unofficial yes -s Package,Version /var/lib/dpkg/status > > Thanks for the tip. > > BTW, are there some risks for it to be destructive? ;-P > > -- > Jérôme Marant If I say no and it fails will you kill me? There are always risks on updates. MfG Goswin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]