LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Update Manager , Synaptic package manager & dpkg: warning error massage (https://www.linuxquestions.org/questions/linux-software-2/update-manager-synaptic-package-manager-and-dpkg-warning-error-massage-4175472467/)

sa3paleasm 08-07-2013 07:27 AM

Update Manager , Synaptic package manager & dpkg: warning error massage
 
Hey that the first time i write her. every time when i have any problem i looking for all Linux site and i`ve a good answer from the ather but more than 10 days i have the same i try many orders on terminal but the same.

i want to install wine 1.7 so i write it normal on a terminal so i write i have to download 171MB my conction is too slow so i left it for free tine i press N normal than update from terminal start the dpkg (1) problem i find some order on the stie to remove the dokg and re-install. dos`t install it back.
the massgae fro the update manager is
Quote:

installArchives() failed: Preconfiguring packages ...
Preconfiguring packages ...
Preconfiguring packages ...
Preconfiguring packages ...
(Reading database ...
dpkg: warning: files list file for package `libxau6' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `liblockfile1' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libkrb5-3' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libwrap0' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libcupsimage2' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libcap2' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libxt6' missing, assuming package has no files currently installed.

etc....

dpkg: warning: files list file for package `libbluray1' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libjson-glib-1.0-0' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libexempi3' missing, assuming package has no files currently installed.

(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 162841 files and directories currently installed.)
Preparing to replace apt 0.8.16~exp12ubuntu10.11 (using .../apt_0.8.16~exp12ubuntu10.12_i386.deb) ...
dpkg-maintscript-helper: error: environment variable DPKG_MAINTSCRIPT_NAME is required
dpkg: error processing /var/cache/apt/archives/apt_0.8.16~exp12ubuntu10.12_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg-maintscript-helper: error: environment variable DPKG_MAINTSCRIPT_NAME is required
dpkg: error while cleaning up:
my system is UBUNTU 12.04

the massage from the synapatic is

Code:

E: /var/cache/apt/archives/apt_0.8.16~exp12ubuntu10.12_i386.deb: subprocess new pre-installation script returned error exit status 1
yestrday i`ve 22 update I download it bet it come that massage and now i`ve 26 update new so i like my system is update who i can finish installing my update.
thanks everybody

sa3paleasm 08-07-2013 04:45 PM

sudo apt-get autoremove

sudo apt-get autoclean

dpkg-deb --control

sudo apt-get remove --purge apt_0.8.16~exp12ubuntu10.12_i386.deb

sudo apt-get -f install

sudo dpkg --configure -a

sudo apt-get autoremove -f apt_0.8.16~exp12ubuntu10.12_i386.deb

- ? installArchives() failed: Preconfiguring packages

- ? dpkg: warning: files list file for package

- ? (Reading database ... 162841 files and directories currently installed.)

- ? Preparing to replace apt 0.8.16~exp12ubuntu10.11 (using .../apt_0.8.16~exp12ubuntu10.12_i386.deb)

- ? dpkg-maintscript-helper: error: environment variable DPKG_MAINTSCRIPT_NAME is required


- ? dpkg: error processing /var/cache/apt/archives/apt_0.8.16~exp12ubuntu10.12_i386.deb (--unpack):


- ? subprocess new pre-installation script returned error exit status 1

- ? No apport report written because MaxReports is reached already

- ? dpkg-maintscript-helper: error: environment variable DPKG_MAINTSCRIPT_NAME is required


- ? dpkg: error while cleaning up:

so i`ll try apt 0.8.16~exp12ubuntu10.11


All times are GMT -5. The time now is 09:53 AM.