Upgrading to ubuntu12.10 from 12.04, with octave3.6.4 installed(not octave2.6.2 default version) installed
Dear Collegues,
Earlier today I upgraded ubuntu 12.04 to 12.10, and tried to install octave. Somehow I am getting the following error. I the upgrade inherited some ppa setup used for precise. Erros as follows:
sudo apt-get install octave
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
octave : Depends: octave-common (= 3.6.2-5) but 3.6.4-1~
E: Unable to correct problems, you have held broken packages.
Your support is appreciated.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply:
This question was originally filed as bug #1296651.
Related FAQ:
None Link to a FAQ
This question was reopened
- by Tilek
Revision history for this message
|
#1 |
Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We understand the difficulties you are facing, but it is better to raise problems you are having in the support tracker at https:/
Revision history for this message
|
#2 |
What is the output of:
suudo apt-get clean; apt-cache policy octave octave-common
Thanks
Revision history for this message
|
#3 |
Hi,
octave:
Installed: 3.6.2-5
Candidate: 3.6.2-5
Version table:
*** 3.6.2-5 0
500 http://
100 /var/lib/
octave-common:
Installed: 3.6.2-5
Candidate: 3.6.2-5
Version table:
*** 3.6.2-5 0
500 http://
100 /var/lib/
Revision history for this message
|
#4 |
Run:
sudo apt-get --purge remove octave octave-common
sudo apt-get --purge autoremove
sudo apt-get clean
wget https:/
chmod +x ./fixpackage
sudo ./fixpackage
sudo apt-get install --reinstall octave octave-common
What is the full output please.
Thanks
Revision history for this message
|
#5 |
Dear actionparsnip,
Apology for the delay in response. I was busy with my office work the last 2-3days.
Output as requested below.
Note: now I am seeing ERROR which needs fix.
Cheers,
sudo apt-get --purge remove octave octave-common
[sudo] password for tilek:
Sorry, try again.
[sudo] password for tilek:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
liboctave1
Use 'apt-get autoremove' to remove it.
The following packages will be REMOVED:
octave* octave-common*
0 upgraded, 0 newly installed, 2 to remove and 2 not upgraded.
After this operation, 9,799 kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 254881 files and directories currently installed.)
Removing octave ...
Purging configuration files for octave ...
dpkg: warning: while removing octave, directory '/usr/share/
Removing octave-common ...
Purging configuration files for octave-common ...
dpkg: warning: while removing octave-common, directory '/usr/share/octave' not empty so not removed
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for man-db ...
sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
liboctave1*
0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
After this operation, 28.0 MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 253823 files and directories currently installed.)
Removing liboctave1:i386 ...
Purging configuration files for liboctave1:i386 ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
tilek@ubuntu:~$ sudo apt-get clean
tilek@ubuntu:~$ wget https:/
--2014-03-28 20:43:44-- https:/
Resolving dl.dropbox.com (dl.dropbox.com)... 184.73.230.112
Connecting to dl.dropbox.com (dl.dropbox.
HTTP request sent, awaiting response... 302 FOUND
Location: https:/
--2014-03-28 20:43:45-- https:/
Resolving dl.dropboxuserc
Connecting to dl.dropboxuserc
HTTP request sent, awaiting response... 200 OK
Length: 468 [text/plain]
Saving to: `fixpackage.1'
100%[==
2014-03-28 20:43:46 (153 MB/s) - `fixpackage.1' saved [468/468]
tilek@ubuntu:~$ chmod +x ./fixpackage
tilek@ubuntu:~$ sudo ./fixpackage
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Ign http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Get:48 http://
Get:49 http://
Get:50 http://
Get:51 http://
Get:52 http://
Get:53 http://
Get:54 http://
Get:55 http://
Get:56 http://
Get:57 http://
Get:58 http://
Get:59 http://
Get:60 http://
Get:61 http://
Get:62 http://
Get:63 http://
Get:64 http://
Get:65 http://
Get:66 http://
Get:67 http://
Get:68 http://
Get:69 http://
Get:70 http://
Get:71 http://
Get:72 http://
Get:73 http://
Get:74 http://
Get:75 http://
Get:76 http://
Get:77 http://
Get:78 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Fetched 19.6 MB in 2min 26s (134 kB/s)
Reading package lists... Done
W: GPG error: http://
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:1 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Fetched 72 B in 21s (3 B/s)
Reading package lists... Done
W: GPG error: http://
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libsmbclient libwbclient0 openssh-client samba-common samba-common-bin smbclient ssh-askpass-gnome
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.7 MB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Fetched 11.7 MB in 54s (214 kB/s)
Preconfiguring packages ...
dpkg: warning: files list file for package 'liboctave1:i386' missing; assuming package has no files currently installed
(Reading database ... 253816 files and directories currently installed.)
Preparing to replace libwbclient0:i386 2:3.6.6-3ubuntu5.3 (using .../libwbclient
Unpacking replacement libwbclient0:i386 ...
Preparing to replace smbclient 2:3.6.6-3ubuntu5.3 (using .../smbclient_
Unpacking replacement smbclient ...
Preparing to replace samba-common 2:3.6.6-3ubuntu5.3 (using .../samba-
Unpacking replacement samba-common ...
Preparing to replace samba-common-bin 2:3.6.6-3ubuntu5.3 (using .../samba-
Unpacking replacement samba-common-bin ...
Preparing to replace libsmbclient:i386 2:3.6.6-3ubuntu5.3 (using .../libsmbclien
Unpacking replacement libsmbclient:i386 ...
Preparing to replace openssh-client 1:6.0p1-3ubuntu1 (using .../openssh-
Unpacking replacement openssh-client ...
Preparing to replace ssh-askpass-gnome 1:6.0p1-3ubuntu1 (using .../ssh-
Unpacking replacement ssh-askpass-gnome ...
Processing triggers for man-db ...
Setting up libwbclient0:i386 (2:3.6.
Setting up samba-common (2:3.6.
Setting up smbclient (2:3.6.
Setting up samba-common-bin (2:3.6.
Setting up libsmbclient:i386 (2:3.6.
Setting up openssh-client (1:6.0p1-
Setting up ssh-askpass-gnome (1:6.0p1-
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
tilek@ubuntu:~$ sudo apt-get install --reinstall octave octave-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
octave-info octave-doc octave-htmldoc
The following NEW packages will be installed:
octave octave-common
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,681 kB of archives.
After this operation, 9,799 kB of additional disk space will be used.
Get:1 http://
Get:2 http://
Fetched 2,681 kB in 21s (123 kB/s)
Selecting previously unselected package octave-common.
dpkg: warning: files list file for package 'liboctave1:i386' missing; assuming package has no files currently installed
(Reading database ... 253816 files and directories currently installed.)
Unpacking octave-common (from .../octave-
Selecting previously unselected package octave.
Unpacking octave (from .../octave_
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Setting up octave-common (3.6.2-5) ...
Setting up octave (3.6.2-5) ...
octave: error while loading shared libraries: liboctinterp.so.1: cannot open shared object file: No such file or directory
dpkg: error processing octave (--configure):
subprocess installed post-installation script returned error exit status 127
E: Sub-process /usr/bin/dpkg returned an error code (1)
Revision history for this message
|
#6 |
It seems that some of the steps were in conflict with each other (first removing liboctave1, but later restoring status-old).
My advice:
Execute the following terminal commands
sudo apt-key adv --keyserver keyserver.
sudo apt-get install --reinstall liboctave1:i386 liboctave1 octave octave-common
Please copy/paste all output intio this question document as done before-
Revision history for this message
|
#7 |
Dear Manfred,
As requested; error still prevailed
sudo apt-key adv --keyserver keyserver.
[sudo] password for tilek:
Executing: gpg --ignore-
gpg: requesting key 3E5C1192 from hkp server keyserver.
gpg: key 3E5C1192: public key "Ubuntu Extras Archive Automatic Signing Key <email address hidden>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1
tilek@ubuntu:~$ sudo apt-get install --reinstall liboctave1:i386 liboctave1 octave octave-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 7,996 kB/8,994 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://
Fetched 7,996 kB in 1min 8s (117 kB/s)
E: Internal Error, No file name for octave:i386
Revision history for this message
|
#8 |
Try
sudo dpkg -i /var/apt/
sudo dpkg --configure -a
and copy/paste all output as done before.
Revision history for this message
|
#9 |
Dear Manfred;
as requested:
but I think as I said earlier (Question #245953)
sudo apt-get install octave/quantal
Worked the miracle for me.
Cheers
sudo dpkg -i /var/apt/
dpkg: error processing /var/apt/
cannot access archive: No such file or directory
Errors were encountered while processing:
/var/apt/
tilek@ubuntu:~$ sudo dpkg --configure -a
Setting up octave (3.6.2-5) ...
octave: error while loading shared libraries: liboctinterp.so.1: cannot open shared object file: No such file or directory
dpkg: error processing octave (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
octave
Revision history for this message
|
#10 |
Sorry, typo error on my side, should be
sudo dpkg -i /var/cache/
sudo dpkg --configure -a
Revision history for this message
|
#11 |
DearManfred,
Output as follows:
sudo dpkg -i /var/cache/
dpkg: warning: files list file for package 'liboctave1:i386' missing; assuming package has no files currently installed
(Reading database ... 254874 files and directories currently installed.)
Preparing to replace liboctave1:i386 3.6.2-5 (using .../liboctave1_
Unpacking replacement liboctave1:i386 ...
Setting up liboctave1:i386 (3.6.2-5) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
tilek@ubuntu:~$ sudo dpkg --configure -a
Setting up octave (3.6.2-5) ...
Further I checked octave is working fine now.
octave
GNU Octave, version 3.6.2
Copyright (C) 2012 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "i686-pc-
Additional information about Octave is available at http://
Please contribute if you find this software useful.
For more information, visit http://
Read http://
For information about changes from previous versions, type `news'.
octave:1> version
ans = 3.6.2
Revision history for this message
|
#12 |
Thanks Manfred Hampl, that solved my question.