Apturl doesn't install virtual packages

Bug #230760 reported by Jonathan Michalon
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apturl (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

When trying to install a virtual package, apturl says "can not find [package]" but when using apt/aptitude it installs the needed package(s)

eg. the install of "libglew-dev" with apturl doesn't work, but apt properly installs "libglew1.5-dev" instead.

This bug appears either with Firefox or on command line.

Related branches

Revision history for this message
Andreas Moog (ampelbein) wrote :

That is still an issue in Intrepid with

apturl:
  Installed: 0.2.5ubuntu1

Changed in apturl:
status: New → Confirmed
Revision history for this message
Siegfried Gevatter (rainct) wrote :

I'm working on this.

Until now I got apturl to known if a package is virtual or not and display a different error message if it is (you can test this on revision 48 of my branch). I'll now see if I can get it to choose a real package.

Fixing this requires directly accessing the internals of python-apt, but it shouldn't be too much of a problem (debimg does the same for its dependency resolver).

Changed in apturl:
assignee: nobody → rainct
importance: Undecided → Low
status: Confirmed → In Progress
Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Still an issue in 8.10 final. You get a "Package 'libglew-dev' is virtual." error.

Revision history for this message
Siegfried Gevatter (rainct) wrote : Re: [Bug 230760] Re: Apturl do not install virtual packages

2008/11/4 Vadim Peretokin <email address hidden>:
> Still an issue in 8.10 final. You get a "Package 'libglew-dev' is
> virtual." error.

Yes, I added detection to detect whether if a package is virtual or
not, but haven't added code to determine an installation candidate
yet.

Revision history for this message
Siegfried Gevatter (rainct) wrote : Re: Apturl do not install virtual packages

Unassigned myself since I'm not working on this.

Changed in apturl (Ubuntu):
assignee: Siegfried Gevatter (rainct) → nobody
status: In Progress → Confirmed
papukaija (papukaija)
summary: - Apturl do not install virtual packages
+ Apturl doesn't install virtual packages
Revision history for this message
Javier-puche-u (javier-puche-u) wrote :

Same in trusty, apturl will give 'Package XXX is virtual' message if trying to install a i386 package in amd64 host without specifying the :i386 suffix, and the other way around: trying to install a :i386 package in i386 host specifying the :i386 suffix

 The things is that apt-get install does not have this behaviour.

 Trying to put a link to, for example, apt://acroread-bin, will not work either for i386 or for amd64 depending on weather the :i386 is specified or not, while apt-get install handles properly.

 I tried to update apturl with latest ubuntu versions (vivid, etc.) but it breaks too many dependencies, and anyhow it seems that the problem has not been tackled so far.

 Thanks for taking a look.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.