lsb-release authentification uses luna instead of ubuntu codename which reduces supported ppas

Bug #1081061 reported by siyman
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
elementary OS
Won't Fix
Undecided
Ivo Nunes

Bug Description

When trying to add some ppa through self authentication, e.g. medibuntu, elementary OS identifies itself as luna, which is grounding complications. For instance, using the given command: "sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update" some ppa is added that can't find any packages. Maybe, until further development, luna should itself name as precise?

Revision history for this message
Cody Garver (codygarver) wrote :

Ivo what do you think about this bug? Good idea? Bad idea? Worth it? Dangerous?

Changed in elementaryos:
assignee: nobody → Ivo Nunes (ivonunes)
Revision history for this message
Ademir Giraldelli (ademireagiraldelli) wrote :

I solved this problem doing this:

'Applications' -> 'Software center' -> 'Edit' menu -> 'Software Sources...'

so click on tab 'Other software' -> 'Add' button

add the following line

deb http://packages.medibuntu.org/ precise free non-free

close Software Center and go to Terminal and execute the following lines

sudo apt-get update
sudo apt-get --quiet update
sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring
sudo apt-get --quiet update

if no errors found, you can try

sudo apt-get install ubuntu-restricted-extras non-free-codecs libdvdcss2 faac faad ffmpeg ffmpeg2theora flac icedax id3v2 lame libflac++6 libjpeg-progs libmpeg3-1 mencoder mjpegtools mp3gain mpeg2dec mpeg3-utils mpegdemux mpg123 mpg321 regionset sox uudeview vorbis-tools x264 arj lha p7zip p7zip-full p7zip-rar rar unrar unace-nonfree vlc

works for me!
[ sorry for my poor english :( ]

Revision history for this message
Ademir Giraldelli (ademireagiraldelli) wrote :

Please, ignore the first command

sudo apt-get update

Revision history for this message
siyman (siyman) wrote :

Well, it's even more simple. Just substitute $(lsb_release -cs) with precise and everything works well. My question remains: would it be easier for everyone to use ubuntu's normal precise Tag instead of luna?

Changed in elementaryos:
status: New → Incomplete
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

We've adopted a mechanism to make lsb_release print the upstream distribution instead of the actual one: use "lsb_release -ucs" or "lsb_release -cs --upstream" instead of "lsb_release -cs". This mechanism has originated in JoliCloud and we'll be negotiating adopting it in other major Ubuntu-derived distros.

Changed in elementaryos:
status: Incomplete → Won't Fix
Revision history for this message
siyman (siyman) wrote :

This sounds astonishing simple but powerful. In the near future I'll use this command. Thanks for the advice and your help!

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

Other bug subscribers