PDA

View Full Version : [SOLVED] Update Manager



corto_be
February 25th, 2011, 11:34 AM
When I launch the 'Update Manger' I get the following message:*

Could not initialize the package information

An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Type 'sudo' is not known on line 60 in source list /etc/apt/sources.list'

zenwalker
February 25th, 2011, 11:36 AM
Guess did you corrupted the sources.lst file?? Just use sudo command and open that file and remove the contents and paste the output from here http://repogen.simplylinux.ch/

plucky
February 25th, 2011, 01:59 PM
'E:Type 'sudo' is not known on line 60 in source list /etc/apt/sources.list'

That means there is an error in your sources.list file on line 60.

Either

Post the output of
cat /etc/apt/sources.list so someone can tell you how to correct the error.

Or

Edit the file with
gksudo gedit /etc/apt/sources.list and find line 60 and correct the error.


Good Luck

corto_be
February 26th, 2011, 05:30 PM
When I try to launch my update manager I got the following message:

Could not initialize the package information

An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Type 'sudo' is not known on line 60 in source list /etc/apt/sources.list'

corto_be
February 26th, 2011, 05:33 PM
what to correct in this line which is the following:*"sudo aptitude install cinelerra"

thefasterblueone
February 26th, 2011, 05:39 PM
please post the output of this command.


cat /etc/apt/sources.list

corto_be
February 26th, 2011, 05:58 PM
if i put "cat /etc/apt/sources.list" into the terminal nothing happens

Bölvağur
February 26th, 2011, 06:04 PM
When I try to launch my update manager I got the following message:

Could not initialize the package information

An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Type 'sudo' is not known on line 60 in source list /etc/apt/sources.list'


I have few questions

How did you try to start the update manager?
Did you try to install some software by going by some tutorial or howto on the internet? (perhaps you copied some command beginning with sudo into "software sources")

I have no idea what version of ubuntu you have so I'll just expect you to have the latest one.



Open the software centre
In the menu find Edit → Software Sources
type in your password
Click Other software
The bottom ones are the ones you've added. Do they all start with http:// and does any of them start with sudo?
Click the one starting with sudo and then Edit.. copy this line into this forum and post.
Then AFTER pasting this here you are now allowed to remove this line and hit close.
Wait a little bit (you'll see processing icon in software centre) and then go into update manager and try again.

corto_be
February 26th, 2011, 06:10 PM
here is what i get


# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb cdrom:[Ubuntu-Netbook 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
deb http://lu.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://lu.archive.ubuntu.com/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://lu.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://lu.archive.ubuntu.com/ubuntu/ maverick-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://lu.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://lu.archive.ubuntu.com/ubuntu/ maverick universe
deb http://lu.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://lu.archive.ubuntu.com/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://lu.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://lu.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://lu.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://lu.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://lu.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://lu.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse
sudo aptitude install cinelerra

thefasterblueone
February 26th, 2011, 06:12 PM
Can you edit the sources.list using plucky's instructions and possibly copy and paste the contents of the sources.list so we can be sure that the correct information is deleted?

corto_be
February 26th, 2011, 06:15 PM
here is what i get when posting 'cat /etc/apt/sources.list'

# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb cdrom:[Ubuntu-Netbook 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
deb http://lu.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://lu.archive.ubuntu.com/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://lu.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://lu.archive.ubuntu.com/ubuntu/ maverick-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://lu.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://lu.archive.ubuntu.com/ubuntu/ maverick universe
deb http://lu.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://lu.archive.ubuntu.com/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://lu.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://lu.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://lu.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://lu.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://lu.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://lu.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse
sudo aptitude install cinelerra

Habeouscorpus
February 26th, 2011, 06:15 PM
that bottom line isn't supposed to be there. Remove it, and save.

thefasterblueone
February 26th, 2011, 06:19 PM
Remove sudo aptitude install cinelerra using plucky's instructions.

Don't forget to save the file. File> Save> close.

Then run this:


sudo apt-get update

corto_be
February 26th, 2011, 06:28 PM
is it normal that he asked for the cd 'ubuntu-netbook 10.10'?

Bölvağur
February 26th, 2011, 06:29 PM
that bottom line isn't supposed to be there. Remove it, and save.


sudo aptitude install cinelerra


If you want to install cinelerra you have to add the repository there.. not the command that you use to install from the repository.

go to : https://launchpad.net/~cinelerra-ppa/+archive/ppa (https://launchpad.net/%7Ecinelerra-ppa/+archive/ppa) (this link was found on their website)
and choose your version of ubuntu

then go into that software centre or the file you copy and pasted and add a line that looks like this

deb http://ppa.launchpad.net/cinelerra-ppa/ppa/ubuntu natty main
you'll see how your's should look like on this website I linked you to.


then when you've done this you can open up the terminal and paste in

sudo aptitude install cinelerra

or open synaptic package manager and look for cinelerra (System → Administration → Synaptic Package manager.... OR alt+f2 and write gksu synaptic)

howefield
February 26th, 2011, 06:33 PM
Duplicate threads merged.

Bölvağur
February 26th, 2011, 06:57 PM
is it normal that he asked for the cd 'ubuntu-netbook 10.10'?

not really... it is only normal in this situation with this line active in your source list


deb cdrom:[Ubuntu-Netbook 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted

please edit this one by putting a # in front of it like this



# deb cdrom:[Ubuntu-Netbook 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted

you can also disable it when you open software sources (you can look at my top post again to see how to get it) and then look for where it says something about a cd... just disable that thing.