Bug#292503: workaround
On Thursday 27 January 2005 15:43, Lockenvitz Jan EXT wrote:
> here is a little workaround:
>
> dpkg-deb -x initrd-tools-0.1.77.dep <some_dir>
> cp -r <some_dir>/etc /
> apt-get install initrd-tools
>
> at least it's working for me and it shows the files are inside
> the package but they have not been installed.
Hi,
wild guess:
Having a look at /var/lib/dpkg/info/initrd-tools.conffiles
all your missing files are conffiles too.
If for whatever reason you removed them 'by hand'. No
future initrd-tools pkg update will reinstall them. From
dpkg man page:
confmiss: Always install a missing configuration file. This is dangerous, since it
means not preserving a change (removing) made to the file.
Try (untested, so expect some typos ;)
tar -cf bck.tar `cat /var/lib/dpkg/info/initrd-tools.conffiles`
rm `cat /var/lib/dpkg/info/initrd-tools.conffiles`
apt-get --reinstall install initrd-tools
ls `cat /var/lib/dpkg/info/initrd-tools.conffiles` # not found errors ;)
dpkg -i --force-confmiss /var/cache/apt/archives/initrd-tools_*.deb
ls `cat /var/lib/dpkg/info/initrd-tools.conffiles` # TaTa
tar -xf -C / bck.tar
Hope this helps,
Achim
>
> regards,
> Jan
--
To me vi is Zen. To use vi is to practice zen. Every command is
a koan. Profound to the user, unintelligible to the uninitiated.
You discover truth everytime you use it.
-- reddy@lion.austin.ibm.com
Reply to: