Public bug reported:

To reproduce:
>>> import apt_inst
>>> apt_inst.debExtractArchive(open("/tmp/sudo_1.6.8p12-4ubuntu5_amd64.deb"),"/tmp/cdr")
1

What should happen:
ar x /tmp/sudo_1.6.8p12-4ubuntu5_amd64.deb
tar tvzf data.tar.gz | grep "usr/bin/sudo"
hrwsr-xr-x root/root         0 2006-10-09 04:39 ./usr/bin/sudo link to 
./usr/bin/sudoedit 

What actually happens:
What does happen:
[EMAIL PROTECTED]:/tmp/cdr/usr/bin# ls -al
total 120
drwxr-xr-x 3 root root   4096 2007-08-06 20:12 .
drwxr-xr-x 6 root root   4096 2007-08-06 20:12 ..
drwxr-xr-x 2 root root   4096 2007-08-06 20:12 sudo 

Sudo should be a link, not a directory.

** Affects: python-apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
apt_inst.debExtractArchive doesn't handle links.
https://bugs.launchpad.net/bugs/130795
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to