apt_inst.debExtractArchive doesn't handle links.
Bug #130795 reported by
spbike
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
the python apt bindings |
Confirmed
|
Unknown
|
|||
apt (Debian) |
Confirmed
|
Unknown
|
|||
apt (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
To reproduce:
>>> import apt_inst
>>> apt_inst.
1
What should happen:
ar x /tmp/sudo_
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:
root@mirror:
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.
Changed in python-apt: | |
status: | Unknown → New |
Changed in python-apt: | |
status: | Unknown → New |
Changed in python-apt: | |
status: | New → Triaged |
Changed in apt (Debian): | |
status: | New → Confirmed |
Changed in python-apt: | |
status: | New → Confirmed |
To post a comment you must log in.
The bug is in apt, apt-inst/ dirstream. cc:
case Item::HardLink:
case Item::SymbolicLink:
case Item::CharDevice:
case Item::BlockDevice:
case Item::Directory:
{