Linux Lite Forums

Software - Support => Installing Software => Topic started by: atpersian on August 14, 2018, 03:35:55 AM

Title: Install Updates could not successfully download and install available updates.
Post by: atpersian on August 14, 2018, 03:35:55 AM
Dear All
i try to update via lite update and command in both it get error as bellow :
"Processing was halted because there were too many errors."
also when i try to use "sudo dpkg --configure -a" it get error same .
please help me to solve this .
B R
Title: Re: Install Updates could not successfully download and install available updates.
Post by: bitsnpcs on August 14, 2018, 03:49:00 AM
Hello atpersian,
have you tried
Menu>Lite Tweaks> Package System Repair
and
Menu>Lite Tweaks>Package Cache
Title: Re: Install Updates could not successfully download and install available updates.
Post by: atpersian on August 14, 2018, 03:53:33 AM
i try Menu>Lite Tweaks> Package System Repair  and get error as atach.

(https://image.ibb.co/fe4O5p/Screenshot_2018_08_14_12_22_14.png)
Title: Re: Install Updates could not successfully download and install available updates.
Post by: bitsnpcs on August 14, 2018, 03:56:20 AM
Can you try the Lite Tweaks>Package Cache
first, then try update, if failing try
Lite Tweaks>Package System Repair again

After this can you put the screen shot of results here https://imgbb.com/ (https://imgbb.com/)
then paste the code between IMG tags so I can see it on the forum
Title: Re: Install Updates could not successfully download and install available updates.
Post by: atpersian on August 14, 2018, 03:59:38 AM
its done
Title: Re: Install Updates could not successfully download and install available updates.
Post by: bitsnpcs on August 14, 2018, 04:04:40 AM
Thank You.
From the screenshot, it shows you have partially installed packages on your system, it may work to clean the Package cache then Repair it.
If not working, then try, hold down Ctrl and Alt Keys and press t, to open terminal, then type in

Code: [Select]
sudo apt-get update
enter your password when requested

then

Code: [Select]
sudo apt-get upgrade
and post any errors from the terminal output on the forum
Title: Re: Install Updates could not successfully download and install available updates.
Post by: atpersian on August 14, 2018, 04:08:03 AM
it get error on upgrade too:
(https://preview.ibb.co/cr5o5p/Screenshot_2018_08_14_12_37_11.png)
Title: Re: Install Updates could not successfully download and install available updates.
Post by: bitsnpcs on August 14, 2018, 04:14:44 AM
In terminal -

Code: [Select]
sudo dpkg-reconfigure gconf2
if it is failing to update still afterwards try

Code: [Select]
sudo apt-get remove --purge gconf2 && sudo apt-get install gconf2
https://askubuntu.com/questions/77475/i-encountered-a-gconf2-error-while-installing-some-packages-what-should-i-do
Title: Re: Install Updates could not successfully download and install available updates.
Post by: bitsnpcs on August 14, 2018, 04:20:23 AM
if your terminal is not accepting

Code: [Select]
&&
split in to 2 commands, entered individually, before && (first command), and after && (second command), then not using && in either command.
Title: Re: Install Updates could not successfully download and install available updates.
Post by: atpersian on August 14, 2018, 04:21:51 AM
i edit it it get error as bellow:
-------------------------
on sudo apt-get remove --purge gconf2
------------------------

 python3
 update-notifier-common
 python3-update-manager
 ubiquity-frontend-debconf
 netplan.io
 ubuntu-release-upgrader-core
 software-properties-gtk
 nplan
 python3-software-properties
 gnome-menus
 ubiquity
 ubiquity-frontend-gtk
 python3-distupgrade
 software-properties-common
 ufw
 update-manager-core
 python3-apt
E: Sub-process /usr/bin/dpkg returned an error code (1)

-----------------
on  sudo apt-get install gconf2:
---------------------
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package gconf2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gconf2' has no installation candidate

Title: Re: Install Updates could not successfully download and install available updates.
Post by: bitsnpcs on August 14, 2018, 04:27:14 AM
You will need to wait for one of the LL staff or developers to assist you.
Removing them would not be good it says, it doesn't remove them as you have not typed the command it tells you to type.I won't add the command below as it may be potentially harmful it says to use this, at this time.
Title: Re: Install Updates could not successfully download and install available updates.
Post by: bitsnpcs on August 14, 2018, 04:35:07 AM
Try now (for no installation candidate)

Code: [Select]
sudo apt-get update
So that the APT database knows the software sources.
After this you may need to do


Code: [Select]
sudo apt-get upgrade
Title: Re: Install Updates could not successfully download and install available updates.
Post by: atpersian on August 14, 2018, 04:37:57 AM
thanks for your reply
get error as bellow:
-----------------------
sudo apt-get update
---------------------
Reading package lists... Done
-------------------------------
on sudo apt-get upgrade
----------------
.
.
.
\,.
dpkg: error processing package python3-apt (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python3
 update-notifier-common
 python3-update-manager
 ubiquity-frontend-debconf
 netplan.io
 ubuntu-release-upgrader-core
 software-properties-gtk
 nplan
 python3-software-properties
 gnome-menus
 ubiquity
 ubiquity-frontend-gtk
 python3-distupgrade
 software-properties-common
 ufw
 update-manager-core
 python3-apt
E: Sub-process /usr/bin/dpkg returned an error code (1)
Title: Re: Install Updates could not successfully download and install available updates.
Post by: atpersian on August 14, 2018, 04:39:58 AM
on every command it fist get bellow error:
-------------------

Setting up python3 (3.6.5-3ubuntu1) ...
running python rtupdate hooks for python3.6...
E: py3compile:183: cannot create directory /usr/share/hplip/ui5/__pycache__: FileNotFoundError(2, 'No such file or directory')
Title: Re: Install Updates could not successfully download and install available updates.
Post by: bitsnpcs on August 14, 2018, 04:40:28 AM
Most of these (if not all) are to do with Python3 not being configured.
Title: Re: Install Updates could not successfully download and install available updates.
Post by: Jerry on August 14, 2018, 04:42:21 AM
That's a hell of a mess you have there. A 10 minute reinstall of the OS is a much more efficient use of time in this instance. Then go through and read the Help Manual for a clear overview of how to use LL. Cheers :)
Title: Re: Install Updates could not successfully download and install available updates.
Post by: bitsnpcs on August 14, 2018, 04:45:41 AM
@Jerry is this the bug from HPLIP updates and Python3 ?
Title: Re: Install Updates could not successfully download and install available updates.
Post by: Jerry on August 14, 2018, 04:46:52 AM
@bitsnpcs unsure. Which bug? Do you have link?
Title: Re: Install Updates could not successfully download and install available updates.
Post by: bitsnpcs on August 14, 2018, 04:48:50 AM
I just noticed it from @atpersian last post and search results, the link - https://askubuntu.com/questions/1056780/cant-upgrade-update-ubuntu-18-04-as-apt-dpkg-error-is-showing-up (https://askubuntu.com/questions/1056780/cant-upgrade-update-ubuntu-18-04-as-apt-dpkg-error-is-showing-up)

It is too complex for me to know how to assist though.
Title: Re: Install Updates could not successfully download and install available updates.
Post by: atpersian on August 14, 2018, 04:50:03 AM
maybe both .
i just try to update via lite update and just chagne "Ununtu software donwload from server Address"
after that i get error on all update and install
Title: Re: Install Updates could not successfully download and install available updates.
Post by: bitsnpcs on August 14, 2018, 04:51:32 AM
Which server address did you change to, this may help other LL users ?
Title: Re: Install Updates could not successfully download and install available updates.
Post by: Jerry on August 14, 2018, 04:52:04 AM
@bitsnpcs possibly, it looks similar.
Title: Re: Install Updates could not successfully download and install available updates.
Post by: atpersian on August 14, 2018, 04:54:12 AM
i dont think so
i change it to Main Server and rebuild but error still exist .
i change it to our country Server ,  tree server check
Title: Re: Install Updates could not successfully download and install available updates.
Post by: bitsnpcs on August 14, 2018, 04:54:26 AM
@Jerry is it possible to fix ?
Title: Re: Install Updates could not successfully download and install available updates.
Post by: bitsnpcs on August 14, 2018, 04:55:14 AM
i dont think so
i change it to Main Server and rebuild but error still exist .
i change it to our country Server ,  tree server check

Thank You
Title: Re: Install Updates could not successfully download and install available updates.
Post by: atpersian on August 14, 2018, 04:57:51 AM
according my friend suggestion if i  reinstall OS again it take less time  to fix it .
Title: Re: Install Updates could not successfully download and install available updates.
Post by: bitsnpcs on August 14, 2018, 04:59:31 AM
according my friend suggestion if i  reinstall OS again it take less time  to fix it .


Okay, if it occurs again with updates please restart the thread so it becomes known it is a repetitive issue.
Title: Re: Install Updates could not successfully download and install available updates.
Post by: atpersian on August 14, 2018, 05:00:57 AM
according my friend suggestion if i  reinstall OS again it take less time  to fix it .


Okay, if it occurs again with updates please restart the thread so it becomes known it is a repetitive issue.
sure
thank for your time guys .
Title: Re: Install Updates could not successfully download and install available updates.
Post by: bitsnpcs on August 14, 2018, 05:02:08 AM
and girls  :) You're Welcome @atpersian

 
Title: Re: Install Updates could not successfully download and install available updates.
Post by: atpersian on August 14, 2018, 05:03:33 AM
and girls  :) You're Welcome @atpersian
and girls too  ;D ;D ;D ;D
Title: Re: Install Updates could not successfully download and install available updates.
Post by: Jerry on August 14, 2018, 05:19:39 AM
@bitsnpcs most things are possible to fix. But there needs to be the following considerations: time, ability of user, number of steps involved, language barrier etc.
Title: Re: Install Updates could not successfully download and install available updates.
Post by: bitsnpcs on August 14, 2018, 05:27:26 AM
@Jerry Thank You for explaining, I understand better now :)
Title: Re: Install Updates could not successfully download and install available updates.
Post by: Jerry on August 14, 2018, 05:28:25 AM
You're very welcome :)
Title: Re: Install Updates could not successfully download and install available updates.
Post by: atpersian on August 17, 2018, 05:40:59 AM
Dear All
i reinstall Linux  lite OS again  and get same error again  on  virtualbox-ext-pack while i try to install skype update . \
also i should say  virtualbox-ext-pack install directly from virtualbox , so now i dont need any  virtualbox-ext-pack and i dont understand  why this error appear.
B R
Title: Re: Install Updates could not successfully download and install available updates.
Post by: Jerry on August 17, 2018, 05:54:59 AM
What version of VirtualBox do you have installed, please post a screenshot of the About box. And where are you getting the extension pack from?

Sent from my Mobile phone using Tapatalk

Title: Re: Install Updates could not successfully download and install available updates.
Post by: atpersian on August 17, 2018, 06:01:01 AM
(https://image.ibb.co/j9vVAz/Screenshot_2018_08_17_14_26_45.png)

(https://preview.ibb.co/hnxSqz/Screenshot_2018_08_17_14_26_24.png)
Title: Re: Install Updates could not successfully download and install available updates.
Post by: Jerry on August 17, 2018, 06:40:24 AM
Have a look at your versions, they don't match.

Sent from my Mobile phone using Tapatalk

Title: Re: Install Updates could not successfully download and install available updates.
Post by: atpersian on August 17, 2018, 06:43:26 AM
i install virtual-box form lite software  and try to install extension via command  it get error and then try to install extension inside on virtual-box via insert guest-CD  via VPN . so i guest it install correctly .
Title: Re: Install Updates could not successfully download and install available updates.
Post by: Jerry on August 17, 2018, 07:09:02 AM
Uninstall everything VirtualBox making note of each application. Then reinstall all but the extension pack. Get the correct extension pack version from the VB website. Full instructions for installing VB are also in the Help Manual.

Sent from my Mobile phone using Tapatalk