Opened 11 years ago
Closed 11 years ago
#281 closed defect (fixed)
apt upgrade error "ValueError: list.remove(x): x not in list"
|Reported by:||maphew||Owned by:||maphew|
encountered when upgrading from qgis 1.7.4-3 to 1.7.4-4:
B:\o4w>"C:\Windows\regedit" /s "B:\o4w\apps\qgis\bin\qgis.reg" Traceback (most recent call last): File "<string>", line 1043, in <module> File "<string>", line 326, in upgrade File "<string>", line 150, in install File "<string>", line 179, in install_next File "<string>", line 434, in do_install File "<string>", line 805, in post_install ValueError: list.remove(x): x not in list
Change History (3)
comment:1 by , 11 years ago
|Status:||new → assigned|
comment:2 by , 11 years ago
comment:3 by , 11 years ago
|Status:||assigned → closed|
Believed fixed in r1192: strip leading dot-slash before looking for filename in install manifest.
Please reopen if needed.
Note: See TracTickets for help on using tickets.
Found the cause: the current qgis package uses a leading
./in the archive path whereas the usual method is not have a prefix at all, e.g.
Since from a path handling point of view both are valid, and should point to the same place, I guess this is a bug in apt (especially since setup.exe seems okay with it).
Installation is actually very nearly complete. excepting the step of renaming
qgis.bat.donein the installed files manifest.
To finish the install manually:
qgis qgis-1.7.4-4.tar.bz2 0
(Hmmm, there's another new ticket here. Apt doesn't roll back to initial state on a botched install attempt.)