osdir.com
mailing list archive

Subject: Re: /usr/doc/transition: little test to run - msg#00028

List: debian.devel.quality-assurance

Date: Prev Next Index Thread: Prev Next Index
On Sun, 20 Apr 2003, Joey Hess wrote:
> Try the following command on your system:
>
> $ cd /usr/doc; for p in *; do
> if ! grep -q /usr/doc /var/lib/dpkg/info/$p.prerm 2>/dev/null;
> then echo $p; fi; done
> dhcp
> dhcp-client
> glibc-doc
> libc6
> libc6-dev
> libruby
> locales
> sash
> vim
> vim-perl
> xmcd

Also:
at
crossfire-client-gtk
crossfire-client-x11
gsfonts-wadalab-mincho
HTML2
libpgsql2
lynx
raidtools2
sash
vim
xscreensaver
xscreensaver-gl

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh




Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

packages using files in /usr/share/doc

I ran this command the other day to find packages that use files in /usr/share/doc in their postinsts. When dpkg gets directory exclude support these will presumably all break. They could break today if the admin removed /usr/share/doc in the middle of a dpkg run. I filed bugs on adduser, apt-listbugs, dpkg, libqt3c102-mt, sysvinit, xmcd, and viewcvs. $ grep /usr/share/doc /var/lib/dpkg/info/*.postinst \ |grep -v install-docs |grep -v /usr/doc | less It filters out some things but you have to read it and look for lines that are really accessing /usr/share/doc/. One thing I notcied, and did not file bugs on is a lot of packages do something like this: ln -sf groff-base /usr/share/doc/groff Of course this fails if you have no /usr/share/doc and dpkg has excludes support! I have to wonder why these things are done programmatically in the postinst, instead of just dropping the appropriate link into the data.tar.gz, but I hesitate to file bugs on there as there are quite a few and it doesn't break yet, or really voiolate a tight reading of policy. -- see shy jo pgpLk2hOmy3BX.pgp Description: PGP signature

Next Message by Date: click to view message preview

Re: /usr/doc/transition: little test to run

Henrique de Moraes Holschuh wrote: > Also: > at > crossfire-client-gtk > crossfire-client-x11 > gsfonts-wadalab-mincho > HTML2 > libpgsql2 > lynx > raidtools2 > xscreensaver > xscreensaver-gl If you've not investigated and filed bugs on these yet, I can do it. Though it might be hard to find what made your HTML2 link.. -- see shy jo pgp1gcchBzdW8.pgp Description: PGP signature

Previous Message by Thread: click to view message preview

/usr/doc/transition: little test to run

Try the following command on your system: $ cd /usr/doc; for p in *; do if ! grep -q /usr/doc /var/lib/dpkg/info/$p.prerm 2>/dev/null; then echo $p; fi; done dhcp dhcp-client glibc-doc libc6 libc6-dev libruby locales sash vim vim-perl xmcd This is a list of packages that still have the /usr/doc link, and apparently have no code in their prerm to clean it up. They probably screwed up the /usr/doc transition. I have investigated and filed bugs on all of the above already, but there are probably more in packages I have not installed, or did not upgrade from the stable versions and so didn't tickle their bugs. Hmm, still 242 /usr/doc links here out of 971 installed packages.. -- see shy jo pgpwQxrNNVEPU.pgp Description: PGP signature

Next Message by Thread: click to view message preview

Re: /usr/doc/transition: little test to run

Henrique de Moraes Holschuh wrote: > Also: > at > crossfire-client-gtk > crossfire-client-x11 > gsfonts-wadalab-mincho > HTML2 > libpgsql2 > lynx > raidtools2 > xscreensaver > xscreensaver-gl If you've not investigated and filed bugs on these yet, I can do it. Though it might be hard to find what made your HTML2 link.. -- see shy jo pgp1gcchBzdW8.pgp Description: PGP signature
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by