apt-get install [pkg1 pkg2 pkg3 ⦠pkgn] not installing all items
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I have a bash file with a list of packages to install for a new Ubuntu installation using apt install however, not all the packages in the list are installing. Repos are included in the script as necessary.
I've tried the 2 methods below:
Method 1:
apt install [pkg1] [pkg2] [pkg3] ... [pkgn]
Method 2 - (pseudo code):
String pkgs_list = "pkg1" "pkg2" "pkg3" "pkgn"
for each pkg in pkg_list
if pkg exists then
"do nothing"
else
apt install pkg
Here is the complete bash code:
#***********************#
#*** Keys ***#
#***********************#
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
wget -O - https://dl.sinew.in/keys/enpass-linux.key | apt-key add -
wget -nc https://dl.winehq.org/wine-builds/Release.key | apt-key add -
#***********************#
#*** Repositories ***#
#***********************#
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | tee /etc/apt/sources.list.d/google-chrome.list
echo "deb http://repo.sinew.in/ stable main" >
/etc/apt/sources.list.d/enpass.list
add-apt-repository -y ppa:webupd8team/gnome3 #This is for gnome tweak tool extensions (source: https://www.wikihow.com/Change-Themes-on-Ubuntu-with-Gnome-Tweak-Tool)
add-apt-repository -y ppa:notepadqq-team/notepadqq
add-apt-repository https://dl.winehq.org/wine-builds/ubuntu/
apt -y update
#WinHQ enables 32bit architecture
dpkg --add-architecture i386
#***********************#
#*** apt install ***#
#***********************#
#apt -y install
# nemo
# google-chrome-stable
# notepadqq dconf-editor
# nfs-common
# enpass
# virtualbox
# virtualbox-guest-additions-iso
# gnome-tweak-tool
#gnome-shell-extensions-user-themes
# vlc
# gimp
# winehq-stable
# synaptic
declare -a alist=("nemo"
"google-chrome-stable"
"notepadqq"
"dconf-editor"
"nfs-common"
"enpass"
"virtualbox"
"virtualbox-guest-additions-iso"
"gnome-tweak-tool"
"vlc"
"gimp"
"winehq-stable"
"synaptic"
"usb-creator-gtk"
"libreoffice"
"chromium-browser"
"thunderbird"
"shotwell"
"gnome-calendar")
for application in "$alist[@]"
do
dpkg -l $application
if [ $? = '0' ]; then
echo "***************************************************************************"
echo "*****Application "$application" package is installed, no action taken.*****"
echo "***************************************************************************"
elif [ $? = '1' ]; then
echo "******************************************"
echo "*****Installing package $application.*****"
echo "******************************************"
#Add an if to match dock favorites and add to the dock .desktop file
apt install $application -y
fi
done
Here's the list of applications and there status after the script ran:
- nemo - ok
- google-chrome-stable - ok
- notepadqq - did not install
- dconf-editor - ok
- nfs-common - did not install
- enpass - ok
- virtualbox - ok
- virtualbox-guest-additions-iso - don't know
- gnome-tweak-tool - did not install
- vlc - ok
- gimp - did not install
- winehq-stable - did not install
- synaptic - did not install
- usb-creator-gtk - did not install
- libreoffice - ok
- chromium-browser - did not install
- thunderbird - did not install
- shotwell - did not install
- gnome-calendar - did not install
I can provide more information for each package is needed.
Thanks for your help.
EDIT
The log file generated by using the command $ sudo ./my_script.sh >> my_script.log
is to large so I will post what I think is the problem and we can go from there.
Below is the output for gimp, one that did not install. When my code checks if the package is installed by using the command dpkg -l [package_name]
it returns the following when checking for gimp and the others.
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un gimp <none> <none> (no description available)
ALL the packages that did not install return this with Version and Architecture as <none>
which tells me there's no package install, right? But when the bash script runs, the command return '0' making my statements believe the package is installed which does not seem to be the case according to dpkg. Instead, dpkg is supposed to return something like this: ...
$ dpkg -l package
dpkg-query: no packages found matching package
... when a package` is not installed.
I don't understand what is happening here with dpkg
returning the information posted. What does this mean? What's happening?
Thanks,
EDIT
Additionally, if I try to remove the package with apt
I get:
$ sudo apt autoremove gimp
[sudo] password for alex2wr:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'gimp' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
apt bash
 |Â
show 8 more comments
up vote
0
down vote
favorite
I have a bash file with a list of packages to install for a new Ubuntu installation using apt install however, not all the packages in the list are installing. Repos are included in the script as necessary.
I've tried the 2 methods below:
Method 1:
apt install [pkg1] [pkg2] [pkg3] ... [pkgn]
Method 2 - (pseudo code):
String pkgs_list = "pkg1" "pkg2" "pkg3" "pkgn"
for each pkg in pkg_list
if pkg exists then
"do nothing"
else
apt install pkg
Here is the complete bash code:
#***********************#
#*** Keys ***#
#***********************#
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
wget -O - https://dl.sinew.in/keys/enpass-linux.key | apt-key add -
wget -nc https://dl.winehq.org/wine-builds/Release.key | apt-key add -
#***********************#
#*** Repositories ***#
#***********************#
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | tee /etc/apt/sources.list.d/google-chrome.list
echo "deb http://repo.sinew.in/ stable main" >
/etc/apt/sources.list.d/enpass.list
add-apt-repository -y ppa:webupd8team/gnome3 #This is for gnome tweak tool extensions (source: https://www.wikihow.com/Change-Themes-on-Ubuntu-with-Gnome-Tweak-Tool)
add-apt-repository -y ppa:notepadqq-team/notepadqq
add-apt-repository https://dl.winehq.org/wine-builds/ubuntu/
apt -y update
#WinHQ enables 32bit architecture
dpkg --add-architecture i386
#***********************#
#*** apt install ***#
#***********************#
#apt -y install
# nemo
# google-chrome-stable
# notepadqq dconf-editor
# nfs-common
# enpass
# virtualbox
# virtualbox-guest-additions-iso
# gnome-tweak-tool
#gnome-shell-extensions-user-themes
# vlc
# gimp
# winehq-stable
# synaptic
declare -a alist=("nemo"
"google-chrome-stable"
"notepadqq"
"dconf-editor"
"nfs-common"
"enpass"
"virtualbox"
"virtualbox-guest-additions-iso"
"gnome-tweak-tool"
"vlc"
"gimp"
"winehq-stable"
"synaptic"
"usb-creator-gtk"
"libreoffice"
"chromium-browser"
"thunderbird"
"shotwell"
"gnome-calendar")
for application in "$alist[@]"
do
dpkg -l $application
if [ $? = '0' ]; then
echo "***************************************************************************"
echo "*****Application "$application" package is installed, no action taken.*****"
echo "***************************************************************************"
elif [ $? = '1' ]; then
echo "******************************************"
echo "*****Installing package $application.*****"
echo "******************************************"
#Add an if to match dock favorites and add to the dock .desktop file
apt install $application -y
fi
done
Here's the list of applications and there status after the script ran:
- nemo - ok
- google-chrome-stable - ok
- notepadqq - did not install
- dconf-editor - ok
- nfs-common - did not install
- enpass - ok
- virtualbox - ok
- virtualbox-guest-additions-iso - don't know
- gnome-tweak-tool - did not install
- vlc - ok
- gimp - did not install
- winehq-stable - did not install
- synaptic - did not install
- usb-creator-gtk - did not install
- libreoffice - ok
- chromium-browser - did not install
- thunderbird - did not install
- shotwell - did not install
- gnome-calendar - did not install
I can provide more information for each package is needed.
Thanks for your help.
EDIT
The log file generated by using the command $ sudo ./my_script.sh >> my_script.log
is to large so I will post what I think is the problem and we can go from there.
Below is the output for gimp, one that did not install. When my code checks if the package is installed by using the command dpkg -l [package_name]
it returns the following when checking for gimp and the others.
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un gimp <none> <none> (no description available)
ALL the packages that did not install return this with Version and Architecture as <none>
which tells me there's no package install, right? But when the bash script runs, the command return '0' making my statements believe the package is installed which does not seem to be the case according to dpkg. Instead, dpkg is supposed to return something like this: ...
$ dpkg -l package
dpkg-query: no packages found matching package
... when a package` is not installed.
I don't understand what is happening here with dpkg
returning the information posted. What does this mean? What's happening?
Thanks,
EDIT
Additionally, if I try to remove the package with apt
I get:
$ sudo apt autoremove gimp
[sudo] password for alex2wr:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'gimp' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
apt bash
3
Please provide the actual output of your script.
â muru
Mar 23 at 3:36
I added more information to the question with part of the log of what I think is the problem. It was too long to post. Let me know what else I can help with. Thanks.
â Alex
Mar 23 at 5:26
1
If it's too long, post it on paste.ubuntu.com. That said, I don't see any relevent output from the script you posted. Just the output of some commands you ran afterwards, which are largely irrelevant.
â muru
Mar 23 at 5:35
Here's the log: paste.ubuntu.com/p/R5XT6mc2yT
â Alex
Mar 23 at 5:46
2
(a) 18.04 is still in development and off-topic here. (b) Many PPAs do not support 18.04, soapt -y update
likely did not run successfully and so the package lists might be inconsistent. (c)dpkg -l
's exit status is not an indicator of whether the package is installed or not, it merely shows whetherdpkg
knows about the package or not.
â muru
Mar 23 at 5:58
 |Â
show 8 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a bash file with a list of packages to install for a new Ubuntu installation using apt install however, not all the packages in the list are installing. Repos are included in the script as necessary.
I've tried the 2 methods below:
Method 1:
apt install [pkg1] [pkg2] [pkg3] ... [pkgn]
Method 2 - (pseudo code):
String pkgs_list = "pkg1" "pkg2" "pkg3" "pkgn"
for each pkg in pkg_list
if pkg exists then
"do nothing"
else
apt install pkg
Here is the complete bash code:
#***********************#
#*** Keys ***#
#***********************#
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
wget -O - https://dl.sinew.in/keys/enpass-linux.key | apt-key add -
wget -nc https://dl.winehq.org/wine-builds/Release.key | apt-key add -
#***********************#
#*** Repositories ***#
#***********************#
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | tee /etc/apt/sources.list.d/google-chrome.list
echo "deb http://repo.sinew.in/ stable main" >
/etc/apt/sources.list.d/enpass.list
add-apt-repository -y ppa:webupd8team/gnome3 #This is for gnome tweak tool extensions (source: https://www.wikihow.com/Change-Themes-on-Ubuntu-with-Gnome-Tweak-Tool)
add-apt-repository -y ppa:notepadqq-team/notepadqq
add-apt-repository https://dl.winehq.org/wine-builds/ubuntu/
apt -y update
#WinHQ enables 32bit architecture
dpkg --add-architecture i386
#***********************#
#*** apt install ***#
#***********************#
#apt -y install
# nemo
# google-chrome-stable
# notepadqq dconf-editor
# nfs-common
# enpass
# virtualbox
# virtualbox-guest-additions-iso
# gnome-tweak-tool
#gnome-shell-extensions-user-themes
# vlc
# gimp
# winehq-stable
# synaptic
declare -a alist=("nemo"
"google-chrome-stable"
"notepadqq"
"dconf-editor"
"nfs-common"
"enpass"
"virtualbox"
"virtualbox-guest-additions-iso"
"gnome-tweak-tool"
"vlc"
"gimp"
"winehq-stable"
"synaptic"
"usb-creator-gtk"
"libreoffice"
"chromium-browser"
"thunderbird"
"shotwell"
"gnome-calendar")
for application in "$alist[@]"
do
dpkg -l $application
if [ $? = '0' ]; then
echo "***************************************************************************"
echo "*****Application "$application" package is installed, no action taken.*****"
echo "***************************************************************************"
elif [ $? = '1' ]; then
echo "******************************************"
echo "*****Installing package $application.*****"
echo "******************************************"
#Add an if to match dock favorites and add to the dock .desktop file
apt install $application -y
fi
done
Here's the list of applications and there status after the script ran:
- nemo - ok
- google-chrome-stable - ok
- notepadqq - did not install
- dconf-editor - ok
- nfs-common - did not install
- enpass - ok
- virtualbox - ok
- virtualbox-guest-additions-iso - don't know
- gnome-tweak-tool - did not install
- vlc - ok
- gimp - did not install
- winehq-stable - did not install
- synaptic - did not install
- usb-creator-gtk - did not install
- libreoffice - ok
- chromium-browser - did not install
- thunderbird - did not install
- shotwell - did not install
- gnome-calendar - did not install
I can provide more information for each package is needed.
Thanks for your help.
EDIT
The log file generated by using the command $ sudo ./my_script.sh >> my_script.log
is to large so I will post what I think is the problem and we can go from there.
Below is the output for gimp, one that did not install. When my code checks if the package is installed by using the command dpkg -l [package_name]
it returns the following when checking for gimp and the others.
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un gimp <none> <none> (no description available)
ALL the packages that did not install return this with Version and Architecture as <none>
which tells me there's no package install, right? But when the bash script runs, the command return '0' making my statements believe the package is installed which does not seem to be the case according to dpkg. Instead, dpkg is supposed to return something like this: ...
$ dpkg -l package
dpkg-query: no packages found matching package
... when a package` is not installed.
I don't understand what is happening here with dpkg
returning the information posted. What does this mean? What's happening?
Thanks,
EDIT
Additionally, if I try to remove the package with apt
I get:
$ sudo apt autoremove gimp
[sudo] password for alex2wr:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'gimp' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
apt bash
I have a bash file with a list of packages to install for a new Ubuntu installation using apt install however, not all the packages in the list are installing. Repos are included in the script as necessary.
I've tried the 2 methods below:
Method 1:
apt install [pkg1] [pkg2] [pkg3] ... [pkgn]
Method 2 - (pseudo code):
String pkgs_list = "pkg1" "pkg2" "pkg3" "pkgn"
for each pkg in pkg_list
if pkg exists then
"do nothing"
else
apt install pkg
Here is the complete bash code:
#***********************#
#*** Keys ***#
#***********************#
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
wget -O - https://dl.sinew.in/keys/enpass-linux.key | apt-key add -
wget -nc https://dl.winehq.org/wine-builds/Release.key | apt-key add -
#***********************#
#*** Repositories ***#
#***********************#
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | tee /etc/apt/sources.list.d/google-chrome.list
echo "deb http://repo.sinew.in/ stable main" >
/etc/apt/sources.list.d/enpass.list
add-apt-repository -y ppa:webupd8team/gnome3 #This is for gnome tweak tool extensions (source: https://www.wikihow.com/Change-Themes-on-Ubuntu-with-Gnome-Tweak-Tool)
add-apt-repository -y ppa:notepadqq-team/notepadqq
add-apt-repository https://dl.winehq.org/wine-builds/ubuntu/
apt -y update
#WinHQ enables 32bit architecture
dpkg --add-architecture i386
#***********************#
#*** apt install ***#
#***********************#
#apt -y install
# nemo
# google-chrome-stable
# notepadqq dconf-editor
# nfs-common
# enpass
# virtualbox
# virtualbox-guest-additions-iso
# gnome-tweak-tool
#gnome-shell-extensions-user-themes
# vlc
# gimp
# winehq-stable
# synaptic
declare -a alist=("nemo"
"google-chrome-stable"
"notepadqq"
"dconf-editor"
"nfs-common"
"enpass"
"virtualbox"
"virtualbox-guest-additions-iso"
"gnome-tweak-tool"
"vlc"
"gimp"
"winehq-stable"
"synaptic"
"usb-creator-gtk"
"libreoffice"
"chromium-browser"
"thunderbird"
"shotwell"
"gnome-calendar")
for application in "$alist[@]"
do
dpkg -l $application
if [ $? = '0' ]; then
echo "***************************************************************************"
echo "*****Application "$application" package is installed, no action taken.*****"
echo "***************************************************************************"
elif [ $? = '1' ]; then
echo "******************************************"
echo "*****Installing package $application.*****"
echo "******************************************"
#Add an if to match dock favorites and add to the dock .desktop file
apt install $application -y
fi
done
Here's the list of applications and there status after the script ran:
- nemo - ok
- google-chrome-stable - ok
- notepadqq - did not install
- dconf-editor - ok
- nfs-common - did not install
- enpass - ok
- virtualbox - ok
- virtualbox-guest-additions-iso - don't know
- gnome-tweak-tool - did not install
- vlc - ok
- gimp - did not install
- winehq-stable - did not install
- synaptic - did not install
- usb-creator-gtk - did not install
- libreoffice - ok
- chromium-browser - did not install
- thunderbird - did not install
- shotwell - did not install
- gnome-calendar - did not install
I can provide more information for each package is needed.
Thanks for your help.
EDIT
The log file generated by using the command $ sudo ./my_script.sh >> my_script.log
is to large so I will post what I think is the problem and we can go from there.
Below is the output for gimp, one that did not install. When my code checks if the package is installed by using the command dpkg -l [package_name]
it returns the following when checking for gimp and the others.
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un gimp <none> <none> (no description available)
ALL the packages that did not install return this with Version and Architecture as <none>
which tells me there's no package install, right? But when the bash script runs, the command return '0' making my statements believe the package is installed which does not seem to be the case according to dpkg. Instead, dpkg is supposed to return something like this: ...
$ dpkg -l package
dpkg-query: no packages found matching package
... when a package` is not installed.
I don't understand what is happening here with dpkg
returning the information posted. What does this mean? What's happening?
Thanks,
EDIT
Additionally, if I try to remove the package with apt
I get:
$ sudo apt autoremove gimp
[sudo] password for alex2wr:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'gimp' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
apt bash
apt bash
edited Mar 23 at 5:31
asked Mar 23 at 3:33
![](https://lh3.googleusercontent.com/-Ss7TxDnodfA/AAAAAAAAAAI/AAAAAAAAW78/gFpBtevfxMg/photo.jpg?sz=32)
![](https://lh3.googleusercontent.com/-Ss7TxDnodfA/AAAAAAAAAAI/AAAAAAAAW78/gFpBtevfxMg/photo.jpg?sz=32)
Alex
8310
8310
3
Please provide the actual output of your script.
â muru
Mar 23 at 3:36
I added more information to the question with part of the log of what I think is the problem. It was too long to post. Let me know what else I can help with. Thanks.
â Alex
Mar 23 at 5:26
1
If it's too long, post it on paste.ubuntu.com. That said, I don't see any relevent output from the script you posted. Just the output of some commands you ran afterwards, which are largely irrelevant.
â muru
Mar 23 at 5:35
Here's the log: paste.ubuntu.com/p/R5XT6mc2yT
â Alex
Mar 23 at 5:46
2
(a) 18.04 is still in development and off-topic here. (b) Many PPAs do not support 18.04, soapt -y update
likely did not run successfully and so the package lists might be inconsistent. (c)dpkg -l
's exit status is not an indicator of whether the package is installed or not, it merely shows whetherdpkg
knows about the package or not.
â muru
Mar 23 at 5:58
 |Â
show 8 more comments
3
Please provide the actual output of your script.
â muru
Mar 23 at 3:36
I added more information to the question with part of the log of what I think is the problem. It was too long to post. Let me know what else I can help with. Thanks.
â Alex
Mar 23 at 5:26
1
If it's too long, post it on paste.ubuntu.com. That said, I don't see any relevent output from the script you posted. Just the output of some commands you ran afterwards, which are largely irrelevant.
â muru
Mar 23 at 5:35
Here's the log: paste.ubuntu.com/p/R5XT6mc2yT
â Alex
Mar 23 at 5:46
2
(a) 18.04 is still in development and off-topic here. (b) Many PPAs do not support 18.04, soapt -y update
likely did not run successfully and so the package lists might be inconsistent. (c)dpkg -l
's exit status is not an indicator of whether the package is installed or not, it merely shows whetherdpkg
knows about the package or not.
â muru
Mar 23 at 5:58
3
3
Please provide the actual output of your script.
â muru
Mar 23 at 3:36
Please provide the actual output of your script.
â muru
Mar 23 at 3:36
I added more information to the question with part of the log of what I think is the problem. It was too long to post. Let me know what else I can help with. Thanks.
â Alex
Mar 23 at 5:26
I added more information to the question with part of the log of what I think is the problem. It was too long to post. Let me know what else I can help with. Thanks.
â Alex
Mar 23 at 5:26
1
1
If it's too long, post it on paste.ubuntu.com. That said, I don't see any relevent output from the script you posted. Just the output of some commands you ran afterwards, which are largely irrelevant.
â muru
Mar 23 at 5:35
If it's too long, post it on paste.ubuntu.com. That said, I don't see any relevent output from the script you posted. Just the output of some commands you ran afterwards, which are largely irrelevant.
â muru
Mar 23 at 5:35
Here's the log: paste.ubuntu.com/p/R5XT6mc2yT
â Alex
Mar 23 at 5:46
Here's the log: paste.ubuntu.com/p/R5XT6mc2yT
â Alex
Mar 23 at 5:46
2
2
(a) 18.04 is still in development and off-topic here. (b) Many PPAs do not support 18.04, so
apt -y update
likely did not run successfully and so the package lists might be inconsistent. (c) dpkg -l
's exit status is not an indicator of whether the package is installed or not, it merely shows whether dpkg
knows about the package or not.â muru
Mar 23 at 5:58
(a) 18.04 is still in development and off-topic here. (b) Many PPAs do not support 18.04, so
apt -y update
likely did not run successfully and so the package lists might be inconsistent. (c) dpkg -l
's exit status is not an indicator of whether the package is installed or not, it merely shows whether dpkg
knows about the package or not.â muru
Mar 23 at 5:58
 |Â
show 8 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1018435%2fapt-get-install-pkg1-pkg2-pkg3-pkgn-not-installing-all-items%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3
Please provide the actual output of your script.
â muru
Mar 23 at 3:36
I added more information to the question with part of the log of what I think is the problem. It was too long to post. Let me know what else I can help with. Thanks.
â Alex
Mar 23 at 5:26
1
If it's too long, post it on paste.ubuntu.com. That said, I don't see any relevent output from the script you posted. Just the output of some commands you ran afterwards, which are largely irrelevant.
â muru
Mar 23 at 5:35
Here's the log: paste.ubuntu.com/p/R5XT6mc2yT
â Alex
Mar 23 at 5:46
2
(a) 18.04 is still in development and off-topic here. (b) Many PPAs do not support 18.04, so
apt -y update
likely did not run successfully and so the package lists might be inconsistent. (c)dpkg -l
's exit status is not an indicator of whether the package is installed or not, it merely shows whetherdpkg
knows about the package or not.â muru
Mar 23 at 5:58