Upgrading to ubuntu12.10 from 12.04, with octave3.6.4 installed(not octave2.6.2 default version) installed

Asked by Tilek

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~ppa1~precise1 is to be installed
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:
Revision history for this message
Brian Murray (brian-murray) said :
#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://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. You can also find help posting your problem in the support forum of your local Ubuntu's community http://loco.ubuntu.com/ or asking at http://askubuntu.com. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs.

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

What is the output of:

suudo apt-get clean; apt-cache policy octave octave-common

Thanks

Revision history for this message
Tilek (tilek-aberra) said :
#3

Hi,

octave:
  Installed: 3.6.2-5
  Candidate: 3.6.2-5
  Version table:
 *** 3.6.2-5 0
        500 http://au.archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
        100 /var/lib/dpkg/status
octave-common:
  Installed: 3.6.2-5
  Candidate: 3.6.2-5
  Version table:
 *** 3.6.2-5 0
        500 http://au.archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
        100 /var/lib/dpkg/status

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

Run:

sudo apt-get --purge remove octave octave-common
sudo apt-get --purge autoremove
sudo apt-get clean
wget https://dl.dropbox.com/u/8850924/fixpackage
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
Tilek (tilek-aberra) said :
#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/octave/packages' not empty so not removed
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/applications/bamf.index...
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://dl.dropbox.com/u/8850924/fixpackage
--2014-03-28 20:43:44-- https://dl.dropbox.com/u/8850924/fixpackage
Resolving dl.dropbox.com (dl.dropbox.com)... 184.73.230.112
Connecting to dl.dropbox.com (dl.dropbox.com)|184.73.230.112|:443... connected.
HTTP request sent, awaiting response... 302 FOUND
Location: https://dl.dropboxusercontent.com/u/8850924/fixpackage [following]
--2014-03-28 20:43:45-- https://dl.dropboxusercontent.com/u/8850924/fixpackage
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 54.243.109.213, 75.101.166.165, 50.19.228.218, ...
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|54.243.109.213|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 468 [text/plain]
Saving to: `fixpackage.1'

100%[======================================================================================================>] 468 --.-K/s in 0s

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://au.archive.ubuntu.com quantal Release.gpg [933 B]
Get:2 http://au.archive.ubuntu.com quantal-security Release.gpg [933 B]
Get:3 http://au.archive.ubuntu.com quantal-updates Release.gpg [933 B]
Get:4 http://archive.canonical.com quantal Release.gpg [933 B]
Get:5 http://au.archive.ubuntu.com quantal-proposed Release.gpg [933 B]
Get:6 http://extras.ubuntu.com quantal Release.gpg [72 B]
Get:7 http://au.archive.ubuntu.com quantal-backports Release.gpg [933 B]
Get:8 http://au.archive.ubuntu.com quantal Release [49.6 kB]
Get:9 http://archive.canonical.com quantal Release [7,078 B]
Get:10 http://extras.ubuntu.com quantal Release [11.9 kB]
Ign http://extras.ubuntu.com quantal Release
Get:11 http://extras.ubuntu.com quantal/main Sources [2,422 B]
Get:12 http://au.archive.ubuntu.com quantal-security Release [49.6 kB]
Get:13 http://archive.canonical.com quantal/partner Sources [3,196 B]
Get:14 http://extras.ubuntu.com quantal/main i386 Packages [3,779 B]
Get:15 http://au.archive.ubuntu.com quantal-updates Release [49.6 kB]
Get:16 http://archive.canonical.com quantal/partner i386 Packages [5,336 B]
Get:17 http://au.archive.ubuntu.com quantal-proposed Release [49.6 kB]
Get:18 http://au.archive.ubuntu.com quantal-backports Release [49.6 kB]
Get:19 http://au.archive.ubuntu.com quantal/main Sources [872 kB]
Ign http://extras.ubuntu.com quantal/main Translation-en_US
Ign http://archive.canonical.com quantal/partner Translation-en_US
Ign http://extras.ubuntu.com quantal/main Translation-en
Ign http://archive.canonical.com quantal/partner Translation-en
Get:20 http://au.archive.ubuntu.com quantal/restricted Sources [5,646 B]
Get:21 http://au.archive.ubuntu.com quantal/universe Sources [5,522 kB]
Get:22 http://au.archive.ubuntu.com quantal/multiverse Sources [166 kB]
Get:23 http://au.archive.ubuntu.com quantal/main i386 Packages [1,136 kB]
Get:24 http://au.archive.ubuntu.com quantal/restricted i386 Packages [8,387 B]
Get:25 http://au.archive.ubuntu.com quantal/universe i386 Packages [5,285 kB]
Get:26 http://au.archive.ubuntu.com quantal/multiverse i386 Packages [133 kB]
Get:27 http://au.archive.ubuntu.com quantal/main Translation-en [660 kB]
Get:28 http://au.archive.ubuntu.com quantal/multiverse Translation-en [100 kB]
Get:29 http://au.archive.ubuntu.com quantal/restricted Translation-en [2,575 B]
Get:30 http://au.archive.ubuntu.com quantal/universe Translation-en [3,648 kB]
Get:31 http://au.archive.ubuntu.com quantal-security/main Sources [72.8 kB]
Get:32 http://au.archive.ubuntu.com quantal-security/restricted Sources [1,833 B]
Get:33 http://au.archive.ubuntu.com quantal-security/universe Sources [23.5 kB]
Get:34 http://au.archive.ubuntu.com quantal-security/multiverse Sources [1,162 B]
Get:35 http://au.archive.ubuntu.com quantal-security/main i386 Packages [200 kB]
Get:36 http://au.archive.ubuntu.com quantal-security/restricted i386 Packages [3,531 B]
Get:37 http://au.archive.ubuntu.com quantal-security/universe i386 Packages [72.1 kB]
Get:38 http://au.archive.ubuntu.com quantal-security/multiverse i386 Packages [1,726 B]
Get:39 http://au.archive.ubuntu.com quantal-security/main Translation-en [104 kB]
Get:40 http://au.archive.ubuntu.com quantal-security/multiverse Translation-en [902 B]
Get:41 http://au.archive.ubuntu.com quantal-security/restricted Translation-en [1,066 B]
Get:42 http://au.archive.ubuntu.com quantal-security/universe Translation-en [42.0 kB]
Get:43 http://au.archive.ubuntu.com quantal-updates/main Sources [132 kB]
Get:44 http://au.archive.ubuntu.com quantal-updates/restricted Sources [2,564 B]
Get:45 http://au.archive.ubuntu.com quantal-updates/universe Sources [96.3 kB]
Get:46 http://au.archive.ubuntu.com quantal-updates/multiverse Sources [5,278 B]
Get:47 http://au.archive.ubuntu.com quantal-updates/main i386 Packages [327 kB]
Get:48 http://au.archive.ubuntu.com quantal-updates/restricted i386 Packages [4,841 B]
Get:49 http://au.archive.ubuntu.com quantal-updates/universe i386 Packages [218 kB]
Get:50 http://au.archive.ubuntu.com quantal-updates/multiverse i386 Packages [12.3 kB]
Get:51 http://au.archive.ubuntu.com quantal-updates/main Translation-en [165 kB]
Get:52 http://au.archive.ubuntu.com quantal-updates/multiverse Translation-en [6,931 B]
Get:53 http://au.archive.ubuntu.com quantal-updates/restricted Translation-en [1,477 B]
Get:54 http://au.archive.ubuntu.com quantal-updates/universe Translation-en [113 kB]
Get:55 http://au.archive.ubuntu.com quantal-proposed/main Sources [13.5 kB]
Get:56 http://au.archive.ubuntu.com quantal-proposed/restricted Sources [14 B]
Get:57 http://au.archive.ubuntu.com quantal-proposed/universe Sources [5,657 B]
Get:58 http://au.archive.ubuntu.com quantal-proposed/multiverse Sources [14 B]
Get:59 http://au.archive.ubuntu.com quantal-proposed/main i386 Packages [56.2 kB]
Get:60 http://au.archive.ubuntu.com quantal-proposed/restricted i386 Packages [14 B]
Get:61 http://au.archive.ubuntu.com quantal-proposed/universe i386 Packages [18.1 kB]
Get:62 http://au.archive.ubuntu.com quantal-proposed/multiverse i386 Packages [14 B]
Get:63 http://au.archive.ubuntu.com quantal-proposed/main Translation-en [31.2 kB]
Get:64 http://au.archive.ubuntu.com quantal-proposed/multiverse Translation-en [14 B]
Get:65 http://au.archive.ubuntu.com quantal-proposed/restricted Translation-en [14 B]
Get:66 http://au.archive.ubuntu.com quantal-proposed/universe Translation-en [8,999 B]
Get:67 http://au.archive.ubuntu.com quantal-backports/main Sources [1,139 B]
Get:68 http://au.archive.ubuntu.com quantal-backports/restricted Sources [14 B]
Get:69 http://au.archive.ubuntu.com quantal-backports/universe Sources [19.7 kB]
Get:70 http://au.archive.ubuntu.com quantal-backports/multiverse Sources [2,413 B]
Get:71 http://au.archive.ubuntu.com quantal-backports/main i386 Packages [2,134 B]
Get:72 http://au.archive.ubuntu.com quantal-backports/restricted i386 Packages [14 B]
Get:73 http://au.archive.ubuntu.com quantal-backports/universe i386 Packages [24.8 kB]
Get:74 http://au.archive.ubuntu.com quantal-backports/multiverse i386 Packages [2,465 B]
Get:75 http://au.archive.ubuntu.com quantal-backports/main Translation-en [1,792 B]
Get:76 http://au.archive.ubuntu.com quantal-backports/multiverse Translation-en [2,090 B]
Get:77 http://au.archive.ubuntu.com quantal-backports/restricted Translation-en [14 B]
Get:78 http://au.archive.ubuntu.com quantal-backports/universe Translation-en [20.5 kB]
Ign http://au.archive.ubuntu.com quantal/main Translation-en_US
Ign http://au.archive.ubuntu.com quantal/multiverse Translation-en_US
Ign http://au.archive.ubuntu.com quantal/restricted Translation-en_US
Ign http://au.archive.ubuntu.com quantal/universe Translation-en_US
Ign http://au.archive.ubuntu.com quantal-security/main Translation-en_US
Ign http://au.archive.ubuntu.com quantal-security/multiverse Translation-en_US
Ign http://au.archive.ubuntu.com quantal-security/restricted Translation-en_US
Ign http://au.archive.ubuntu.com quantal-security/universe Translation-en_US
Ign http://au.archive.ubuntu.com quantal-updates/main Translation-en_US
Ign http://au.archive.ubuntu.com quantal-updates/multiverse Translation-en_US
Ign http://au.archive.ubuntu.com quantal-updates/restricted Translation-en_US
Ign http://au.archive.ubuntu.com quantal-updates/universe Translation-en_US
Ign http://au.archive.ubuntu.com quantal-proposed/main Translation-en_US
Ign http://au.archive.ubuntu.com quantal-proposed/multiverse Translation-en_US
Ign http://au.archive.ubuntu.com quantal-proposed/restricted Translation-en_US
Ign http://au.archive.ubuntu.com quantal-proposed/universe Translation-en_US
Ign http://au.archive.ubuntu.com quantal-backports/main Translation-en_US
Ign http://au.archive.ubuntu.com quantal-backports/multiverse Translation-en_US
Ign http://au.archive.ubuntu.com quantal-backports/restricted Translation-en_US
Ign http://au.archive.ubuntu.com quantal-backports/universe Translation-en_US
Fetched 19.6 MB in 2min 26s (134 kB/s)
Reading package lists... Done
W: GPG error: http://extras.ubuntu.com quantal Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
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://au.archive.ubuntu.com quantal Release.gpg
Hit http://au.archive.ubuntu.com quantal-security Release.gpg
Hit http://au.archive.ubuntu.com quantal-updates Release.gpg
Hit http://au.archive.ubuntu.com quantal-proposed Release.gpg
Hit http://archive.canonical.com quantal Release.gpg
Get:1 http://extras.ubuntu.com quantal Release.gpg [72 B]
Hit http://au.archive.ubuntu.com quantal-backports Release.gpg
Hit http://au.archive.ubuntu.com quantal Release
Hit http://au.archive.ubuntu.com quantal-security Release
Hit http://archive.canonical.com quantal Release
Hit http://extras.ubuntu.com quantal Release
Hit http://au.archive.ubuntu.com quantal-updates Release
Ign http://extras.ubuntu.com quantal Release
Hit http://au.archive.ubuntu.com quantal-proposed Release
Hit http://au.archive.ubuntu.com quantal-backports Release
Hit http://archive.canonical.com quantal/partner Sources
Hit http://au.archive.ubuntu.com quantal/main Sources
Ign http://extras.ubuntu.com quantal/main Sources/DiffIndex
Hit http://au.archive.ubuntu.com quantal/restricted Sources
Hit http://au.archive.ubuntu.com quantal/universe Sources
Hit http://archive.canonical.com quantal/partner i386 Packages
Hit http://au.archive.ubuntu.com quantal/multiverse Sources
Ign http://extras.ubuntu.com quantal/main i386 Packages/DiffIndex
Hit http://au.archive.ubuntu.com quantal/main i386 Packages
Hit http://au.archive.ubuntu.com quantal/restricted i386 Packages
Hit http://au.archive.ubuntu.com quantal/universe i386 Packages
Hit http://au.archive.ubuntu.com quantal/multiverse i386 Packages
Hit http://au.archive.ubuntu.com quantal/main Translation-en
Hit http://au.archive.ubuntu.com quantal/multiverse Translation-en
Hit http://extras.ubuntu.com quantal/main Sources
Hit http://au.archive.ubuntu.com quantal/restricted Translation-en
Hit http://extras.ubuntu.com quantal/main i386 Packages
Hit http://au.archive.ubuntu.com quantal/universe Translation-en
Hit http://au.archive.ubuntu.com quantal-security/main Sources
Hit http://au.archive.ubuntu.com quantal-security/restricted Sources
Hit http://au.archive.ubuntu.com quantal-security/universe Sources
Hit http://au.archive.ubuntu.com quantal-security/multiverse Sources
Hit http://au.archive.ubuntu.com quantal-security/main i386 Packages
Hit http://au.archive.ubuntu.com quantal-security/restricted i386 Packages
Hit http://au.archive.ubuntu.com quantal-security/universe i386 Packages
Hit http://au.archive.ubuntu.com quantal-security/multiverse i386 Packages
Hit http://au.archive.ubuntu.com quantal-security/main Translation-en
Hit http://au.archive.ubuntu.com quantal-security/multiverse Translation-en
Ign http://archive.canonical.com quantal/partner Translation-en_US
Hit http://au.archive.ubuntu.com quantal-security/restricted Translation-en
Ign http://archive.canonical.com quantal/partner Translation-en
Hit http://au.archive.ubuntu.com quantal-security/universe Translation-en
Hit http://au.archive.ubuntu.com quantal-updates/main Sources
Hit http://au.archive.ubuntu.com quantal-updates/restricted Sources
Hit http://au.archive.ubuntu.com quantal-updates/universe Sources
Hit http://au.archive.ubuntu.com quantal-updates/multiverse Sources
Ign http://extras.ubuntu.com quantal/main Translation-en_US
Hit http://au.archive.ubuntu.com quantal-updates/main i386 Packages
Hit http://au.archive.ubuntu.com quantal-updates/restricted i386 Packages
Hit http://au.archive.ubuntu.com quantal-updates/universe i386 Packages
Ign http://extras.ubuntu.com quantal/main Translation-en
Hit http://au.archive.ubuntu.com quantal-updates/multiverse i386 Packages
Hit http://au.archive.ubuntu.com quantal-updates/main Translation-en
Hit http://au.archive.ubuntu.com quantal-updates/multiverse Translation-en
Hit http://au.archive.ubuntu.com quantal-updates/restricted Translation-en
Hit http://au.archive.ubuntu.com quantal-updates/universe Translation-en
Hit http://au.archive.ubuntu.com quantal-proposed/main Sources
Hit http://au.archive.ubuntu.com quantal-proposed/restricted Sources
Hit http://au.archive.ubuntu.com quantal-proposed/universe Sources
Hit http://au.archive.ubuntu.com quantal-proposed/multiverse Sources
Hit http://au.archive.ubuntu.com quantal-proposed/main i386 Packages
Hit http://au.archive.ubuntu.com quantal-proposed/restricted i386 Packages
Hit http://au.archive.ubuntu.com quantal-proposed/universe i386 Packages
Hit http://au.archive.ubuntu.com quantal-proposed/multiverse i386 Packages
Hit http://au.archive.ubuntu.com quantal-proposed/main Translation-en
Hit http://au.archive.ubuntu.com quantal-proposed/multiverse Translation-en
Hit http://au.archive.ubuntu.com quantal-proposed/restricted Translation-en
Hit http://au.archive.ubuntu.com quantal-proposed/universe Translation-en
Hit http://au.archive.ubuntu.com quantal-backports/main Sources
Hit http://au.archive.ubuntu.com quantal-backports/restricted Sources
Hit http://au.archive.ubuntu.com quantal-backports/universe Sources
Hit http://au.archive.ubuntu.com quantal-backports/multiverse Sources
Hit http://au.archive.ubuntu.com quantal-backports/main i386 Packages
Hit http://au.archive.ubuntu.com quantal-backports/restricted i386 Packages
Hit http://au.archive.ubuntu.com quantal-backports/universe i386 Packages
Hit http://au.archive.ubuntu.com quantal-backports/multiverse i386 Packages
Hit http://au.archive.ubuntu.com quantal-backports/main Translation-en
Hit http://au.archive.ubuntu.com quantal-backports/multiverse Translation-en
Hit http://au.archive.ubuntu.com quantal-backports/restricted Translation-en
Hit http://au.archive.ubuntu.com quantal-backports/universe Translation-en
Ign http://au.archive.ubuntu.com quantal/main Translation-en_US
Ign http://au.archive.ubuntu.com quantal/multiverse Translation-en_US
Ign http://au.archive.ubuntu.com quantal/restricted Translation-en_US
Ign http://au.archive.ubuntu.com quantal/universe Translation-en_US
Ign http://au.archive.ubuntu.com quantal-security/main Translation-en_US
Ign http://au.archive.ubuntu.com quantal-security/multiverse Translation-en_US
Ign http://au.archive.ubuntu.com quantal-security/restricted Translation-en_US
Ign http://au.archive.ubuntu.com quantal-security/universe Translation-en_US
Ign http://au.archive.ubuntu.com quantal-updates/main Translation-en_US
Ign http://au.archive.ubuntu.com quantal-updates/multiverse Translation-en_US
Ign http://au.archive.ubuntu.com quantal-updates/restricted Translation-en_US
Ign http://au.archive.ubuntu.com quantal-updates/universe Translation-en_US
Ign http://au.archive.ubuntu.com quantal-proposed/main Translation-en_US
Ign http://au.archive.ubuntu.com quantal-proposed/multiverse Translation-en_US
Ign http://au.archive.ubuntu.com quantal-proposed/restricted Translation-en_US
Ign http://au.archive.ubuntu.com quantal-proposed/universe Translation-en_US
Ign http://au.archive.ubuntu.com quantal-backports/main Translation-en_US
Ign http://au.archive.ubuntu.com quantal-backports/multiverse Translation-en_US
Ign http://au.archive.ubuntu.com quantal-backports/restricted Translation-en_US
Ign http://au.archive.ubuntu.com quantal-backports/universe Translation-en_US
Fetched 72 B in 21s (3 B/s)
Reading package lists... Done
W: GPG error: http://extras.ubuntu.com quantal Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
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://au.archive.ubuntu.com/ubuntu/ quantal-security/main libwbclient0 i386 2:3.6.6-3ubuntu5.4 [26.6 kB]
Get:2 http://au.archive.ubuntu.com/ubuntu/ quantal-security/main smbclient i386 2:3.6.6-3ubuntu5.4 [5,540 kB]
Get:3 http://au.archive.ubuntu.com/ubuntu/ quantal-security/main samba-common all 2:3.6.6-3ubuntu5.4 [171 kB]
Get:4 http://au.archive.ubuntu.com/ubuntu/ quantal-security/main samba-common-bin i386 2:3.6.6-3ubuntu5.4 [3,545 kB]
Get:5 http://au.archive.ubuntu.com/ubuntu/ quantal-security/main libsmbclient i386 2:3.6.6-3ubuntu5.4 [1,423 kB]
Get:6 http://au.archive.ubuntu.com/ubuntu/ quantal-security/main openssh-client i386 1:6.0p1-3ubuntu1.1 [965 kB]
Get:7 http://au.archive.ubuntu.com/ubuntu/ quantal-security/main ssh-askpass-gnome i386 1:6.0p1-3ubuntu1.1 [15.8 kB]
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 .../libwbclient0_2%3a3.6.6-3ubuntu5.4_i386.deb) ...
Unpacking replacement libwbclient0:i386 ...
Preparing to replace smbclient 2:3.6.6-3ubuntu5.3 (using .../smbclient_2%3a3.6.6-3ubuntu5.4_i386.deb) ...
Unpacking replacement smbclient ...
Preparing to replace samba-common 2:3.6.6-3ubuntu5.3 (using .../samba-common_2%3a3.6.6-3ubuntu5.4_all.deb) ...
Unpacking replacement samba-common ...
Preparing to replace samba-common-bin 2:3.6.6-3ubuntu5.3 (using .../samba-common-bin_2%3a3.6.6-3ubuntu5.4_i386.deb) ...
Unpacking replacement samba-common-bin ...
Preparing to replace libsmbclient:i386 2:3.6.6-3ubuntu5.3 (using .../libsmbclient_2%3a3.6.6-3ubuntu5.4_i386.deb) ...
Unpacking replacement libsmbclient:i386 ...
Preparing to replace openssh-client 1:6.0p1-3ubuntu1 (using .../openssh-client_1%3a6.0p1-3ubuntu1.1_i386.deb) ...
Unpacking replacement openssh-client ...
Preparing to replace ssh-askpass-gnome 1:6.0p1-3ubuntu1 (using .../ssh-askpass-gnome_1%3a6.0p1-3ubuntu1.1_i386.deb) ...
Unpacking replacement ssh-askpass-gnome ...
Processing triggers for man-db ...
Setting up libwbclient0:i386 (2:3.6.6-3ubuntu5.4) ...
Setting up samba-common (2:3.6.6-3ubuntu5.4) ...
Setting up smbclient (2:3.6.6-3ubuntu5.4) ...
Setting up samba-common-bin (2:3.6.6-3ubuntu5.4) ...
Setting up libsmbclient:i386 (2:3.6.6-3ubuntu5.4) ...
Setting up openssh-client (1:6.0p1-3ubuntu1.1) ...
Setting up ssh-askpass-gnome (1:6.0p1-3ubuntu1.1) ...
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://au.archive.ubuntu.com/ubuntu/ quantal/universe octave-common all 3.6.2-5 [999 kB]
Get:2 http://au.archive.ubuntu.com/ubuntu/ quantal/universe octave i386 3.6.2-5 [1,682 kB]
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-common_3.6.2-5_all.deb) ...
Selecting previously unselected package octave.
Unpacking octave (from .../octave_3.6.2-5_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
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
Manfred Hampl (m-hampl) said :
#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.ubuntu.com --recv-keys 16126D3A3E5C1192
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
Tilek (tilek-aberra) said :
#7

Dear Manfred,

As requested; error still prevailed

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
[sudo] password for tilek:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.JlLIzx8F9n --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
gpg: requesting key 3E5C1192 from hkp server keyserver.ubuntu.com
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://au.archive.ubuntu.com/ubuntu/ quantal/universe liboctave1 i386 3.6.2-5 [7,996 kB]
Fetched 7,996 kB in 1min 8s (117 kB/s)
E: Internal Error, No file name for octave:i386

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

Try

sudo dpkg -i /var/apt/cache/archives/liboctave1_3.6.2-5_i386.deb
sudo dpkg --configure -a

and copy/paste all output as done before.

Revision history for this message
Tilek (tilek-aberra) said :
#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/cache/archives/liboctave1_3.6.2-5_i386.deb
dpkg: error processing /var/apt/cache/archives/liboctave1_3.6.2-5_i386.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 /var/apt/cache/archives/liboctave1_3.6.2-5_i386.deb
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
Best Manfred Hampl (m-hampl) said :
#10

Sorry, typo error on my side, should be

sudo dpkg -i /var/cache/apt/archives/liboctave1_3.6.2-5_i386.deb
sudo dpkg --configure -a

Revision history for this message
Tilek (tilek-aberra) said :
#11

DearManfred,

Output as follows:

sudo dpkg -i /var/cache/apt/archives/liboctave1_3.6.2-5_i386.deb
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_3.6.2-5_i386.deb) ...
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-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

For information about changes from previous versions, type `news'.

octave:1> version
ans = 3.6.2

Revision history for this message
Tilek (tilek-aberra) said :
#12

Thanks Manfred Hampl, that solved my question.