LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-02-2010, 04:57 AM   #91
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705

Ok so there will be some problems if some packages are not available.

You can avoid this with the following methed of installing those pacakges:

Code:
awk '{ printf "$1 install\n" }' < p2install.txt | sudo dpkg --set-selections
sudo apt-get dselect-upgrade
Evo2.
 
Old 03-02-2010, 05:09 AM   #92
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
awk '{ printf "$1 install\n" }' < p2install.txt | sudo dpkg --set-selections
The output was :
dpkg: illegal package name at line 1: must start with an alphanumeric
 
Old 03-02-2010, 05:11 AM   #93
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hmm. Ok, maybe a typo somewhere. Please do:

Code:
awk '{ printf "$1 install\n" }' < p2install.txt > selections.txt
Then post the output of
Code:
head selections.txt
Evo2.
 
Old 03-02-2010, 05:23 AM   #94
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
$1 install
$1 install
$1 install
$1 install

(over 1000 lines, all like this)
 
Old 03-02-2010, 05:27 AM   #95
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Oops sorry! Stupid mistake by me.

This is what I should have asked in the first place:
Code:
awk '{ printf "%s install\n", $1 }' < p2install.txt | sudo dpkg --set-selections
sudo apt-get dselect-upgrade
Evo2.
 
Old 03-02-2010, 05:40 AM   #96
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
The first one produced no ouput. The second one asked me to install some things. I pressed 'y'. Some things were installed, apparently. A lot of lines appeared.
The last ones mention errors.
Erors were encountred while processing:
/var/cache/apt/archives/sun-java6-bin_6-15-1_i386.deb
/var/cache/apt/archives/sun-java6-jre_6-15-1_all.deb
E:Sub-process usr/bin/dpkg returned an error code (1).
 
Old 03-02-2010, 05:44 AM   #97
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
This is related to the lock file problem earlier. Can you please run
Code:
dpkg --configure --pending
And post the output?

Evo2.
 
Old 03-02-2010, 05:56 AM   #98
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Almost 100 lines appeared. The last ones were
Error were encountered while processing;
sun-java6-plugin

Last edited by elishac; 03-02-2010 at 06:03 AM.
 
Old 03-02-2010, 06:19 AM   #99
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Then please post the last 20 lines or so. Without seeing the error messages I can only make uninformed guesses at how to fix the problem.

Evo2.
 
Old 03-02-2010, 06:22 AM   #100
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Setting up thunderbird-locale-pt-br (1:2.0.0.14+1-0ubuntu2) ...
Setting up xserver-xorg-input-kbd (1:1.3.2-3) ...
Setting up thunderbird-locale-es-ar (1:2.0.0.14+1-0ubuntu2) ...
Setting up wv (1.2.4-2ubuntu2) ...

dpkg: dependency problems prevent configuration of sun-java6-plugin:
sun-java6-plugin depends on sun-java6-bin (= 6-15-1); however:
Package sun-java6-bin is not installed.
dpkg: error processing sun-java6-plugin (--configure):
dependency problems - leaving unconfigured
Setting up vim-gnome (2:7.2.245-2ubuntu2) ...
update-alternatives: using /usr/bin/vim.gnome to provide /usr/bin/vim (vim) in auto mode.
update-alternatives: using /usr/bin/vim.gnome to provide /usr/bin/vimdiff (vimdiff) in auto mode.
update-alternatives: using /usr/bin/vim.gnome to provide /usr/bin/rvim (rvim) in auto mode.
update-alternatives: using /usr/bin/vim.gnome to provide /usr/bin/rview (rview) in auto mode.
update-alternatives: using /usr/bin/vim.gnome to provide /usr/bin/vi (vi) in auto mode.
update-alternatives: using /usr/bin/vim.gnome to provide /usr/bin/view (view) in auto mode.
update-alternatives: using /usr/bin/vim.gnome to provide /usr/bin/ex (ex) in auto mode.
update-alternatives: using /usr/bin/vim.gnome to provide /usr/bin/editor (editor) in auto mode.
update-alternatives: using /usr/bin/vim.gnome to provide /usr/bin/gvim (gvim) in auto mode.
update-alternatives: using /usr/bin/vim.gnome to provide /usr/bin/gview (gview) in auto mode.
update-alternatives: using /usr/bin/vim.gnome to provide /usr/bin/rgview (rgview) in auto mode.
update-alternatives: using /usr/bin/vim.gnome to provide /usr/bin/rgvim (rgvim) in auto mode.
update-alternatives: using /usr/bin/vim.gnome to provide /usr/bin/evim (evim) in auto mode.
update-alternatives: using /usr/bin/vim.gnome to provide /usr/bin/eview (eview) in auto mode.
update-alternatives: using /usr/bin/vim.gnome to provide /usr/bin/gvimdiff (gvimdiff) in auto mode.

Setting up tracker-utils (0.6.95-1ubuntu3) ...
Setting up vlc-plugin-pulse (1.0.2-1ubuntu2.1) ...
Setting up tracker-search-tool (0.6.95-1ubuntu3) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
sun-java6-plugin
 
Old 03-02-2010, 06:40 AM   #101
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by elishac View Post
dpkg: dependency problems prevent configuration of sun-java6-plugin:
sun-java6-plugin depends on sun-java6-bin (= 6-15-1); however:
Package sun-java6-bin is not installed.
dpkg: error processing sun-java6-plugin (--configure):
dependency problems - leaving unconfigured
So this shows the problem.

I did a quick check at:

http://packages.ubuntu.com/search?ke...n-java6-plugin

and it seems you need "multiverse" repositories. Does the relevant line exist in your /etc/apt/sources.list file? If not, did you backup your /etc/apt/source.list file from your previous installation? If so please copy that file.

Evo2.
 
Old 03-02-2010, 07:04 AM   #102
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
I'm sorry, what relevant line are you talking about ?
No I didn't back up /etc/apt/source.list.
 
Old 03-02-2010, 07:08 AM   #103
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Quote:
Originally Posted by brianL View Post
You deserve a medal for your patience, I'm sure.
Leaving this Friday for Peru until the end of the month Already have my ticket.
 
Old 03-02-2010, 07:09 AM   #104
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Ok, please read this:

https://help.ubuntu.com/community/Repositories/Ubuntu

Evo2.
 
Old 03-02-2010, 12:27 PM   #105
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Ok I tried to read it carefully. I didn't understand half of it.
Anyway, back to my problem, what must I do now ?
I still don't know what to do with the /etc/apt/source.list file.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reinstallation changd Linux - Newbie 1 07-07-2006 04:13 PM
Win98 reinstallation michaelc187 General 2 11-05-2004 11:43 AM
Reinstallation! Jmcatch742 Linux - Newbie 3 10-02-2004 06:44 PM
Reinstallation: Doin' it right! mattp Linux - Newbie 40 03-08-2004 10:20 PM
reinstallation Nay Linux - Newbie 10 12-21-2003 08:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration