PDA

View Full Version : [SOLVED] error in paket update-manager



breithorn
June 12th, 2012, 02:23 PM
E:Malformed line 5 in source list /etc/apt/sources.list (dist parse)

After I tried to install Adobe Reader in Ubuntu 12.04 sudo apt-get install acroread
:(

raja.genupula
June 12th, 2012, 02:35 PM
Hi open your terminal and type this

cat /etc/apt/sources.list and post the output here .

breithorn
June 13th, 2012, 03:10 PM
/home/martin/Pictures/Screenshot from 2012-06-13 15:45:48.png
# /etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.canonical.com/precise partner
deb-src http://archive.canonical.com/precise partner
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse

raja.genupula
June 13th, 2012, 06:02 PM
its looking fine , are you seeing anything odd

gksu gedit /etc/apt/sources.list

breithorn
June 13th, 2012, 06:49 PM
first thank you for your support, it's great!
gksu gedit /etc/apt/sources.list delivered 3 messages,
got 2 times this message:
Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Then this message too:
GLib-GIO-WARNING **: Missing callback called fullpath = /root/.local/share/recently-used.xbel

raja.genupula
June 13th, 2012, 07:47 PM
actually your terminal output of source.list seems to clear but apt saying there is a error in line number .

ok do one thing ..
open terminal and type as
sudo nautilus then go to the sources.list by starting the navigation from the file system with the path as mentioned above . then open that file with gedit and look for any odd things

plucky
June 13th, 2012, 11:04 PM
deb http://archive.canonical.com/precise partner
deb-src http://archive.canonical.com/precise partner

Those two lines are incorrect.

Mine looks like


deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

The /ubuntu are missing in your version.

Good Luck

breithorn
June 14th, 2012, 11:59 AM
Wow, the error doesn't occur any more. I edited sources.list by modifying the two lines as mentioned above. So far I'm happy now, thank you for your support):P

raja.genupula
June 15th, 2012, 02:57 AM
Now please mark the thread as solved from thread tools .

Thank you .