Unfortunately it did not work. I changed to the *set -e exit 0 *and
reran the configure and still got an error.
w...@kathy:~$ sudo dpkg --configure -a or sudo dpkg --configure
--pending; sudo aptitude full-upgrade
[sudo] password for wes:
dpkg: --configure --pending does not take any non-option arguments
Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked [*] produce a lot of output - pipe it through `less' or
`more' !
The following partially installed packages will be configured:
software-center
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up software-center (3.0.4) ...
file does not exist:
/usr/share/software-center/softwarecenter/apt/__init__.py
file does not exist:
/usr/share/software-center/softwarecenter/db/__init__.py
file does not exist:
/usr/share/software-center/softwarecenter/view/__init__.py
file does not exist:
/usr/share/software-center/softwarecenter/view/widgets/__init__.py
pycentral: pycentral pkginstall: error byte-compiling files (69)
pycentral pkginstall: error byte-compiling files (69)
dpkg: error processing software-center (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
Errors
were encountered while processing:
software-center
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up software-center (3.0.4) ...
file does not exist:
/usr/share/software-center/softwarecenter/apt/__init__.py
file does not exist:
/usr/share/software-center/softwarecenter/db/__init__.py
file does not exist:
/usr/share/software-center/softwarecenter/view/__init__.py
file does not exist:
/usr/share/software-center/softwarecenter/view/widgets/__init__.py
pycentral: pycentral pkginstall: error byte-compiling files (69)
pycentral pkginstall: error byte-compiling files (69)
dpkg: error processing software-center (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
software-center
w...@kathy:~$
On 12/26/2010 01:50 PM, Bill Barry wrote:
> On Sun, Dec 26, 2010 at 1:29 PM, Joseph Weston Morgan <[email protected]
> <mailto:[email protected]>> wrote:
>
> *these instructions?*
> /
> In GNOME Terminal, type:
> sudo nano /var/lib/dpkg/info/software-center.postinst
>
> then
> add "exit 0" after set -e (without the quotes)
>
> Save your changes with this key combo:
> Ctrl + O
>
> Exit nano with Ctrl + X/
>
> *So it looks like this?
> *
> #!/bin/sh
>
> *set -e exit 0*
>
>
> Looks right to me, did it get rid of the apt-get problem?
>
> Bill
>
>
>
>
> _______________________________________________
> EUGLUG mailing list
> [email protected]
> http://www.euglug.org/mailman/listinfo/euglug
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug