[Osgeo4w-trac] Re: [osgeo4w] #281: apt upgrade error "ValueError: list.remove(x): x not in list"

OSGeo4W trac_osgeo4w at osgeo.org
Mon Mar 26 17:09:23 EDT 2012


#281: apt upgrade error "ValueError: list.remove(x): x not in list"
-------------------+--------------------------------------------------------
Reporter:  maphew  |       Owner:  maphew  
    Type:  defect  |      Status:  assigned
Priority:  major   |   Component:  Package 
 Version:          |    Keywords:  pkg-apt 
-------------------+--------------------------------------------------------
Changes (by maphew):

  * status:  new => assigned


Comment:

 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.
 `apps/qgis` rather than `./apps/qgis`.

 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` to `qgis.bat.done` in the installed files manifest.

 To finish the install manually:

  * open `etc/setup/qgis.lst.gz` and change `./etc/postinstall/qgis.bat` to
 `./etc/postinstall/qgis.bat.done`
  * edit `etc/setup/installed.db` and add `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.)''

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/281#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the Osgeo4w-trac mailing list