update-manager line not know into source list

Asked by ed

trying to update I got this errormessage: ------->

An unresolvable problem occurred while initialising the package information.

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

'E:Type ‘b-src’ is not known on line 2 in source list /etc/apt/sources.list.d/jonoomph-openshot-edge-precise.list'

OS: ubuntu 12.04, AMD Phenom II (64 bit), 3.4 GB Ram, kernel 3.2.0-24, gnome 3.4.1

update impossible
imposible to install openshot (gui and PPA)

thanks for your effort

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
arochester (arochester) said :
#1

You have an error in your source list.

Issue the command: gksudo gedit /etc/apt/sources.list

Look at line 2. It says b-src

Change it to deb-src.

Save. Close gedit.

Try again.

Unless you are a computer whizz you do not need source code - any line that begins deb-src. You can make them inactive by putting at the start of each relevant line: #

Revision history for this message
ed (ed-galeria-wl) said :
#2

after changing all "deb-scr" to "## deb-scr" and reboot I still get --->

Could not initialise the package information

An unresolvable problem occurred while initialising the package information.

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

'E:Type ‘b-src’ is not known on line 2 in source list /etc/apt/sources.list.d/jonoomph-openshot-edge-precise.list, E:The list of sources could not be read., E:The package lists or status file could not be parsed or opened.'

cpoy paste of souces.list up to 2d uncomented line --->

# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ precise main restricted
# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/main/binary-i386/
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ oneiric main restricted
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ dists/oneiric/main/binary-i386/
# deb cdrom:[Ubuntu 10.04.3 LTS _Lucid Lynx_ - Release amd64 (20110720.1)]/ lucid main restricted
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ oneiric main restricted
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ dists/oneiric/main/binary-i386/
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ oneiric main restricted
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ dists/oneiric/main/binary-i386/
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ dists/oneiric/main/binary-i386/
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ oneiric main restricted
deb http://archive.ubuntu.com/ubuntu precise main restricted
## deb-src http://archive.ubuntu.com/ubuntu precise main restricted

deb http://archive.ubuntu.com/ubuntu precise-security main restricted
## deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted

sorry seemed not to be solution ...
¿what more could I do?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Try:

sudo rm /etc/apt/sources.list.d/jonoomph-openshot-edge*

sudo apt-get update

Also, please close the other THREE questions you have posted about the same issue....

Revision history for this message
ed (ed-galeria-wl) said :
#4

actually the 3 questions are related at least to 2 different machines an AMD 2 core and an amd 4 core .... if not my third wich is a 6 core
actually I am on the 4 core machine, and I cannot access the 2 core for the moment I will try later the same
 I will close # 199942 and repeat here what I just postet there --->

after doing what you proposed I get: -->

Fetched 13.7 MB in 18s (742 kB/s)
Reading package lists... Done
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise_universe_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise/universe i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
ed@ed-AMD4cores:~$

did not try the suggestion as the erroroutput was the result of the proposed comand.

I also tried to update. I got 2 updates which I agreed.
tyhis run me into the following error message: --->

Package operation failed
The installation or removal of a software package failed.

details was a very large output (you may have it if you need to (I saved it).
I'll post begin and end: ---->

installArchives() failed: Preconfiguring packages ...
Preconfiguring packages ...
...
Saving to: `./jdk-7u3-linux-x64.tar.gz'
 0K ..... 100%% 1.53M=0.003s

2012-06-13 16:58:48 (1.53 MB/s) - `./jdk-7u3-linux-x64.tar.gz' saved [5307/5307]
Download done.
sha256sum mismatch jdk-7u3-linux-x64.tar.gz
Oracle JDK 7 is NOT installed.
dpkg: error processing oracle-java7-installer (--configure):
 subprocess installed post-installation script returned error exit status 1

¿any further suggestion?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Ok what is the output of:

grep archive /etc/apt/sources.list

Thanks

Revision history for this message
ed (ed-galeria-wl) said :
#6

hi again andrew-woodhead666

just started my videoediting machine ....
here update works, but I have problems to install openshot and you said is the same problem I expose now here:

trying to install ppa this way: --->

Ubuntu 9.10 (Karmic) and above

    sudo add-apt-repository ppa:jonoomph/openshot-edge
    sudo apt-get update
    sudo apt-get install openshot openshot-doc

I copy paste output of terminal: ---->

ed@amd6OCZ:~$ sudo add-apt-repository ppa:jonoomph/openshot-edge
[sudo] password for ed:
You are about to add the following PPA to your system:
 This PPA contains the most bleeding-edge version of OpenShot Video Editor. Each time our source code reaches some level of stability, I will update this PPA. This isn't the most stable version of OpenShot... just the newest most bleeding edge version.

If you are looking for the current stable version of OpenShot, please use:
https://launchpad.net/~openshot.developers/+archive/ppa

 More info: https://launchpad.net/~jonoomph/+archive/openshot-edge
Press [ENTER] to continue or ctrl-c to cancel adding it

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.6OSBirnitg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv 0E8CD101D02D5629A7CBC1A4FC0D5CCAEDFBD1F9
gpg: requesting key EDFBD1F9 from hkp server keyserver.ubuntu.com
gpg: key EDFBD1F9: "Launchpad Bleeding-Edge OpenShot PPA" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
ed@amd6OCZ:~$ sudo apt-get update
E: Type 'ain' is not known on line 3 in source list /etc/apt/sources.list.d/jonoomph-openshot-edge-precise.list
E: The list of sources could not be read.
ed@amd6OCZ:~$

thanks for your patience

ed.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

That's not the output of the command I gave....

Revision history for this message
ed (ed-galeria-wl) said :
#8

this is 4 core out put of greep: ---->

ed@ed-AMD4cores:~$
ed@ed-AMD4cores:~$ grep archive /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu precise main restricted
## deb-src http://archive.ubuntu.com/ubuntu precise main restricted
deb http://archive.ubuntu.com/ubuntu precise-security main restricted
## deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted
deb http://archive.ubuntu.com/ubuntu precise-updates main restricted
## deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted
# deb http://archive.ubuntu.com/ubuntu natty-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu natty-updates multiverse
deb http://archive.ubuntu.com/ubuntu precise universe
## deb-src http://archive.ubuntu.com/ubuntu precise universe
deb http://archive.ubuntu.com/ubuntu precise-updates universe
## deb-src http://archive.ubuntu.com/ubuntu precise-updates universe
deb http://archive.ubuntu.com/ubuntu precise multiverse
## deb-src http://archive.ubuntu.com/ubuntu precise multiverse
deb http://archive.ubuntu.com/ubuntu precise-updates multiverse
## deb-src http://archive.ubuntu.com/ubuntu precise-updates multiverse
deb http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse
## deb-src http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu precise-security universe
## deb-src http://archive.ubuntu.com/ubuntu precise-security universe
deb http://archive.ubuntu.com/ubuntu precise-security multiverse
## deb-src http://archive.ubuntu.com/ubuntu precise-security multiverse
# deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu oneiric partner
deb http://archive.ubuntu.com/ubuntu precise universe
##deb http://archive.ubuntu.com/ubuntu precise-backports multiverse
## deb-src http://archive.ubuntu.com/ubuntu precise-backports multiverse
# deb http://archive.canonical.com/ubuntu oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric partner
# deb http://archive.canonical.com/ubuntu oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric partner
# deb http://archive.canonical.com/ubuntu oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric partner
deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner
ed@ed-AMD4cores:~$

I hope you do net get mixed up with my problems ... but due to kdenlive and openshot I updated to 12.04 which I now think was too early ....

thanks again

Revision history for this message
ed (ed-galeria-wl) said :
#9

¿do you need same greep of 6 cores?

Revision history for this message
ed (ed-galeria-wl) said :
#10

sorry I had'nt read your response.... we are now cruzing 2 problems and answers/information of 2 mashines the 4 core and the 6 core mashine ...

both and the 2 core present as you already remarked verry similar problems around updating and installing (openshot)

sorry for the complexity of my problems ....

anyway thanks ... for your efforts

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#11

Lets do this the easy way:

cd $HOME; wget http://dl.dropbox.com/u/8850924/precisesources.list

sudo rm /etc/apt/sources.list

sudo mv ~/precisesources.list /etc/apt/sources.list

sudo apt-get update

Revision history for this message
ed (ed-galeria-wl) said :
#12

answer for the 4 cores (will do the same for the 6 cores, if you do not tell me diffrent. but I will wait for an answer of your's)

done what you said.

no error report ...

so far so fine ...

trying to install openshot (with the ppa)

I get this error report:

ed@ed-AMD4cores:~$ sudo add-apt-repository ppa:jonoomph/openshot-edge
[sudo] password for ed:
You are about to add the following PPA to your system:
 This PPA contains the most bleeding-edge version of OpenShot Video Editor. Each time our source code reaches some level of stability, I will update this PPA. This isn't the most stable version of OpenShot... just the newest most bleeding edge version.

If you are looking for the current stable version of OpenShot, please use:
https://launchpad.net/~openshot.developers/+archive/ppa

 More info: https://launchpad.net/~jonoomph/+archive/openshot-edge
Press [ENTER] to continue or ctrl-c to cancel adding it

WARNING:root:could not open file '/etc/apt/sources.list'

WARNING:root:could not open file '/etc/apt/sources.list'

WARNING:root:could not open file '/etc/apt/sources.list'

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.yJsWVxR6Fs --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv 0E8CD101D02D5629A7CBC1A4FC0D5CCAEDFBD1F9
gpg: requesting key EDFBD1F9 from hkp server keyserver.ubuntu.com
gpg: key EDFBD1F9: "Launchpad Bleeding-Edge OpenShot PPA" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
ed@ed-AMD4cores:~$

I apreciate your opinion
thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#13

ok run:

sudo chown root:root /etc/apt/sources.list

sudo chmod 644 /etc/apt/sources.list

And it will be ok

Revision history for this message
ed (ed-galeria-wl) said :
#14

sorry, I still have to bother: ---->

ed@ed-AMD4cores:~$ sudo chown root:root /etc/apt/sources.list
chown: cannot access `/etc/apt/sources.list': No such file or directory
ed@ed-AMD4cores:~$

directory /etc/apt conyains: --->

ed@ed-AMD4cores:/etc/apt$ ls
apt.conf.d sources.list~ sources.list.save trusted.gpg trusted.gpg.d
preferences.d sources.list.d trustdb.gpg trusted.gpg~
ed@ed-AMD4cores:/etc/apt$

Revision history for this message
ed (ed-galeria-wl) said :
#15

¿does anyone have an idea how to solve ?

¿does anyone have an idea how this can occur?

¿should I reinstall (this definitely reminds me windose)?

thanks for any intent to help

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#16

cd $HOME

wget http://dl.dropbox.com/u/8850924/precisesources.list

sudo rm /etc/apt/sources.list

sudo mv ~/precisesources.list /etc/apt/sources.list

sudo chown root:root /etc/apt/sources.list

sudo chmod 644 /etc/apt/sources.list

Will download my default sources.list file and copy it to where it should go.

Can you help with this problem?

Provide an answer of your own, or ask ed for more information if necessary.

To post a message you must log in.