Comment 4 for bug 390808

Revision history for this message
RJP Computing (rpusztai) wrote : Re: [Bug 390808] Re: Problem Installing on Jaunty

On Tue, Jun 23, 2009 at 9:37 AM, Dustin Kirkland
<email address hidden>wrote:

> This should have worked if you did:
> $ sudo aptitude dist-upgrade
>
> You can manually fix this with sudo aptitude purge screen-profiles
> screen-profiles-extras screen, and then sudo aptitude install screen
> byobu byobu-extras
>
> :-Dustin

OK so I tried a 'dist-upgrade' and the same error occurs.

Then I tried the manual way you described. I still get errors. Here is the
output:

$ sudo aptitude purge screen-profiles screen-profiles-extras screen
byobu-extras byobu
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be REMOVED:
  byobu{p} byobu-extras{p} screen{p}
0 packages upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 1577kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 163771 files and directories currently installed.)
Removing byobu-extras ...
Removing byobu ...
Purging configuration files for byobu ...
Removing screen ...
Purging configuration files for screen ...
Processing triggers for man-db ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

rpusztai@g3630-ubuntu:~$ sudo aptitude install by
byacc bygfoot byobu byobu-extras byzanz
rpusztai@g3630-ubuntu:~$ sudo aptitude install byobu byobu-extras
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
  byobu byobu-extras screen{a}
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/693kB of archives. After unpacking 1577kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Selecting previously deselected package screen.
(Reading database ... 163630 files and directories currently installed.)
Unpacking screen (from .../screen_4.0.3-11ubuntu4_amd64.deb) ...
Selecting previously deselected package byobu.
Unpacking byobu (from .../byobu_2.15-0ubuntu1~ppa3_all.deb) ...
Selecting previously deselected package byobu-extras.
Unpacking byobu-extras (from .../byobu-extras_2.15-0ubuntu1~ppa3_all.deb)
...
Processing triggers for man-db ...
Setting up screen (4.0.3-11ubuntu4) ...
stat: cannot stat `/usr/bin/screen': No such file or directory
[: 10: -lt: unexpected operator

Setting up byobu (2.15-0ubuntu1~ppa3) ...
dpkg-divert: mismatch on package
  when removing `diversion of /usr/bin/screen by byobu'
  found `diversion of /usr/bin/screen to /usr/bin/screen.real by
screen-profiles'
dpkg: error processing byobu (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of byobu-extras:
 byobu-extras depends on byobu; however:
  Package byobu is not configured yet.
dpkg: error processing byobu-extras (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup
error from a previous failure.
      Errors were encountered while processing:
 byobu
 byobu-extras
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up byobu (2.15-0ubuntu1~ppa3) ...
dpkg-divert: mismatch on package
  when removing `diversion of /usr/bin/screen by byobu'
  found `diversion of /usr/bin/screen to /usr/bin/screen.real by
screen-profiles'
dpkg: error processing byobu (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of byobu-extras:
 byobu-extras depends on byobu; however:
  Package byobu is not configured yet.
dpkg: error processing byobu-extras (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 byobu
 byobu-extras
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
--
Regards,
Ryan