aptitude update doesn't work for files in /etc/apt/sources.list.d/ with a + in their name

Bug #592020 reported by freethinker
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Software Properties
New
Undecided
Unassigned
aptitude (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: aptitude

I created a PPA @ https://launchpad.net/~pratikmsinha/+archive/ruby192+bindings/ and added it to system using the add-apt-repoistory command. This resulted in the creation of the file 'pratikmsinha-ruby192+bindings-lucid.list' in /etc/apt/sources.list.d/. When I updated using 'aptitude update' (I tried apt-get update too), I couldn't see the packages in the apt cache => 'apt-cache search ruby1.9.2' didn't work. I changed the filename to 'pratikmsinha-ruby192bindings-lucid.list' and did a 'aptitude update' and after that I could see the package in the cache.

Though PPAs allow the '+' sign in the names, when the ppa is added to the system using the add-apt-repository command (recommended way), it creates a file which aptitude/apt-get cannot handle.

I wonder if this bug should be filed under aptitude or python-software-properties.

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.