This is what I get:
Error: Apt simulation failed.
- The apt cache may be corrupt
DietPi-Software will now exit
Background: I installed dietpi with kodi, transmission, plex, and a LEMP stack. I installed some other software (sab, sickbeard, couch, headphones, lazylibrarian) and lython and said prereqs for them. a little while later, I noticed an issue with plex. It seemed to be causing all kinds of weirdness. anyways, did an uninstall via dietpi-uninstall and them went to re-install andgot this little nugget.
I have run apt-get clean && apt-get update
I am at a loss as to where to go with this now.
Issues installing optimized software on xu4
Re: Issues installing optimized software on xu4
Hi,boblablah wrote:This is what I get:
Error: Apt simulation failed.
- The apt cache may be corrupt
DietPi-Software will now exit
Background: I installed dietpi with kodi, transmission, plex, and a LEMP stack. I installed some other software (sab, sickbeard, couch, headphones, lazylibrarian) and lython and said prereqs for them. a little while later, I noticed an issue with plex. It seemed to be causing all kinds of weirdness. anyways, did an uninstall via dietpi-uninstall and them went to re-install andgot this little nugget.
I have run apt-get clean && apt-get update
I am at a loss as to where to go with this now.
It sounds like a issue with your apt sources.
We run a "dummy" apt-get install of bash-doc. If it fails, you'll see the failure message.
I'd need to see your apt sources. Please send a bug report, this will contain the files in /etc/apt/sources.list and /etc/apt/sources.list.d/* which I need to check: http://dietpi.com/phpbb/viewtopic.php?f=8&t=499#p2184
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Issues installing optimized software on xu4
Your reference code: 7a26d9bb-bfd2-438b-b193-417ee8983483-0
Re: Issues installing optimized software on xu4
Thanks.boblablah wrote:Your reference code: 7a26d9bb-bfd2-438b-b193-417ee8983483-0
Aside from /etc/apt/sources.list.d/wheezy.non-free.list, everything looks fine.
Please can you run the following and paste results:
Code: Select all
apt-get update
apt-cache search bash-doc
apt-get install bash-doc -y
Code: Select all
apt-get purge bash-doc -y
dietpi-software
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Issues installing optimized software on xu4
here's my results: I wonder if that non-free has replaced something else that was defaulted before?
root@terrabyte:~# apt-get update
Hit http://security.debian.org wheezy/updates InRelease
Hit http://ppa.launchpad.net precise InRelease
Ign http://ftp.debian.org jessie InRelease
Hit http://oph.mdrjr.net all InRelease
Hit http://security.debian.org wheezy/updates/non-free armhf Packages
Hit http://ppa.launchpad.net trusty InRelease
Hit http://oph.mdrjr.net jessie InRelease
Hit http://ftp.debian.org jessie-updates InRelease
Hit http://security.debian.org wheezy/updates/non-free Translation-en
Hit http://oph.mdrjr.net all/xu3 armhf Packages
Hit http://ppa.launchpad.net precise/main armhf Packages
Hit http://ftp.debian.org jessie-backports InRelease
Hit http://oph.mdrjr.net all/main armhf Packages
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://oph.mdrjr.net all/testing armhf Packages
Hit http://ftp.debian.org jessie Release.gpg
Get:1 ftp://ftp.us.debian.org wheezy InRelease
Hit http://ppa.launchpad.net trusty/main Sources
Get:2 http://ftp.debian.org jessie-updates/main armhf Packages/DiffIndex [5,440 B]
Hit http://ppa.launchpad.net trusty/main armhf Packages
Hit http://ftp.debian.org jessie-updates/contrib armhf Packages
Ign ftp://ftp.us.debian.org wheezy InRelease
Hit http://ppa.launchpad.net trusty/main Translation-en
Get:3 http://ftp.debian.org jessie-updates/non-free armhf Packages/DiffIndex [736 B]
Hit ftp://ftp.us.debian.org wheezy Release.gpg
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Hit ftp://ftp.us.debian.org wheezy Release
Hit http://oph.mdrjr.net jessie/main armhf Packages
Get:4 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [2,704 B]
Hit http://oph.mdrjr.net jessie/backports armhf Packages
Get:5 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Hit ftp://ftp.us.debian.org wheezy/non-free armhf Packages
Get:6 http://ftp.debian.org jessie-backports/main armhf Packages/DiffIndex [27.8 kB]
Hit ftp://ftp.us.debian.org wheezy/non-free Translation-en
Get:7 http://ftp.debian.org jessie-backports/contrib armhf Packages/DiffIndex [16.7 kB]
Get:8 http://ftp.debian.org jessie-backports/non-free armhf Packages/DiffIndex [3,610 B]
Get:9 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [5,008 B]
Get:10 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Get:11 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [7,330 B]
Hit http://ftp.debian.org jessie Release
Hit http://ftp.debian.org jessie/main armhf Packages
Hit http://ftp.debian.org jessie/contrib armhf Packages
Hit http://ftp.debian.org jessie/non-free armhf Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Ign http://oph.mdrjr.net all/main Translation-en_CA
Ign http://oph.mdrjr.net all/main Translation-en
Ign http://oph.mdrjr.net all/testing Translation-en_CA
Ign http://oph.mdrjr.net all/testing Translation-en
Ign http://oph.mdrjr.net all/xu3 Translation-en_CA
Ign http://oph.mdrjr.net all/xu3 Translation-en
Ign http://oph.mdrjr.net jessie/backports Translation-en_CA
Ign http://oph.mdrjr.net jessie/backports Translation-en
Ign http://oph.mdrjr.net jessie/main Translation-en_CA
Ign http://oph.mdrjr.net jessie/main Translation-en
Fetched 97.9 kB in 14s (6,670 B/s)
Reading package lists... Done
root@terrabyte:~# apt-get search bash-doc
E: Invalid operation search
root@terrabyte:~# apt-cache search bash-doc
root@terrabyte:~# apt-get install bash-doc -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package bash-doc 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
However the following packages replace it:
bash
E: Package 'bash-doc' has no installation candidate
root@terrabyte:~# apt-get update
Hit http://security.debian.org wheezy/updates InRelease
Hit http://ppa.launchpad.net precise InRelease
Ign http://ftp.debian.org jessie InRelease
Hit http://oph.mdrjr.net all InRelease
Hit http://security.debian.org wheezy/updates/non-free armhf Packages
Hit http://ppa.launchpad.net trusty InRelease
Hit http://oph.mdrjr.net jessie InRelease
Hit http://ftp.debian.org jessie-updates InRelease
Hit http://security.debian.org wheezy/updates/non-free Translation-en
Hit http://oph.mdrjr.net all/xu3 armhf Packages
Hit http://ppa.launchpad.net precise/main armhf Packages
Hit http://ftp.debian.org jessie-backports InRelease
Hit http://oph.mdrjr.net all/main armhf Packages
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://oph.mdrjr.net all/testing armhf Packages
Hit http://ftp.debian.org jessie Release.gpg
Get:1 ftp://ftp.us.debian.org wheezy InRelease
Hit http://ppa.launchpad.net trusty/main Sources
Get:2 http://ftp.debian.org jessie-updates/main armhf Packages/DiffIndex [5,440 B]
Hit http://ppa.launchpad.net trusty/main armhf Packages
Hit http://ftp.debian.org jessie-updates/contrib armhf Packages
Ign ftp://ftp.us.debian.org wheezy InRelease
Hit http://ppa.launchpad.net trusty/main Translation-en
Get:3 http://ftp.debian.org jessie-updates/non-free armhf Packages/DiffIndex [736 B]
Hit ftp://ftp.us.debian.org wheezy Release.gpg
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Hit ftp://ftp.us.debian.org wheezy Release
Hit http://oph.mdrjr.net jessie/main armhf Packages
Get:4 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [2,704 B]
Hit http://oph.mdrjr.net jessie/backports armhf Packages
Get:5 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Hit ftp://ftp.us.debian.org wheezy/non-free armhf Packages
Get:6 http://ftp.debian.org jessie-backports/main armhf Packages/DiffIndex [27.8 kB]
Hit ftp://ftp.us.debian.org wheezy/non-free Translation-en
Get:7 http://ftp.debian.org jessie-backports/contrib armhf Packages/DiffIndex [16.7 kB]
Get:8 http://ftp.debian.org jessie-backports/non-free armhf Packages/DiffIndex [3,610 B]
Get:9 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [5,008 B]
Get:10 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Get:11 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [7,330 B]
Hit http://ftp.debian.org jessie Release
Hit http://ftp.debian.org jessie/main armhf Packages
Hit http://ftp.debian.org jessie/contrib armhf Packages
Hit http://ftp.debian.org jessie/non-free armhf Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Ign http://oph.mdrjr.net all/main Translation-en_CA
Ign http://oph.mdrjr.net all/main Translation-en
Ign http://oph.mdrjr.net all/testing Translation-en_CA
Ign http://oph.mdrjr.net all/testing Translation-en
Ign http://oph.mdrjr.net all/xu3 Translation-en_CA
Ign http://oph.mdrjr.net all/xu3 Translation-en
Ign http://oph.mdrjr.net jessie/backports Translation-en_CA
Ign http://oph.mdrjr.net jessie/backports Translation-en
Ign http://oph.mdrjr.net jessie/main Translation-en_CA
Ign http://oph.mdrjr.net jessie/main Translation-en
Fetched 97.9 kB in 14s (6,670 B/s)
Reading package lists... Done
root@terrabyte:~# apt-get search bash-doc
E: Invalid operation search
root@terrabyte:~# apt-cache search bash-doc
root@terrabyte:~# apt-get install bash-doc -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package bash-doc 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
However the following packages replace it:
bash
E: Package 'bash-doc' has no installation candidate
Re: Issues installing optimized software on xu4
Lets try to clean up your apt sources, get it back to "standard" and test again.boblablah wrote:here's my results: I wonder if that non-free has replaced something else that was defaulted before?
E: Package 'bash-doc' has no installation candidate
Try:
- Removing (you may want to back these up):
Code: Select all
rm /etc/apt/sources.list.d/wheezy.non-free.list rm /etc/apt/sources.list.d/sabnzbdplus.list
- Reset sources.list
Code: Select all
cat << _EOF_ > /etc/apt/sources.list deb http://ftp.debian.org/debian jessie main contrib non-free deb http://ftp.debian.org/debian jessie-updates main contrib non-free deb http://security.debian.org jessie/updates main contrib non-free deb http://ftp.debian.org/debian jessie-backports main contrib non-free deb http://ftp.debian.org/debian jessie-proposed-updates contrib non-free main _EOF_
Code: Select all
apt-get clean
apt-get update
apt-cache search bash-doc
apt-get install bash-doc -y
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Issues installing optimized software on xu4
I moved the non-free and sab lists to /root/
I got my /etc/apt/sources.list looking exactly as yours is shown.
apt-get clean
apt-cache search bash-doc (no real response - no error or positive acknowledgement)
apt-get install bash-doc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package bash-doc 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
However the following packages replace it:
bash
E: Package 'bash-doc' has no installation candidate
root@terrabyte:/etc/apt# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian jessie main contrib non-free
deb http://ftp.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org jessie/updates main contrib non-free
deb http://ftp.debian.org/debian jessie-backports main contrib non-free
deb http://ftp.debian.org/debian jessie-proposed-updates contrib non-free main
I got my /etc/apt/sources.list looking exactly as yours is shown.
apt-get clean
apt-cache search bash-doc (no real response - no error or positive acknowledgement)
apt-get install bash-doc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package bash-doc 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
However the following packages replace it:
bash
E: Package 'bash-doc' has no installation candidate
root@terrabyte:/etc/apt# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian jessie main contrib non-free
deb http://ftp.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org jessie/updates main contrib non-free
deb http://ftp.debian.org/debian jessie-backports main contrib non-free
deb http://ftp.debian.org/debian jessie-proposed-updates contrib non-free main
Re: Issues installing optimized software on xu4
Try this. It will completely clear the apt cache:boblablah wrote:I moved the non-free and sab lists to /root/
I got my /etc/apt/sources.list looking exactly as yours is shown.
apt-get clean
apt-cache search bash-doc (no real response - no error or positive acknowledgement)
apt-get install bash-doc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package bash-doc 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
However the following packages replace it:
bash
E: Package 'bash-doc' has no installation candidate
root@terrabyte:/etc/apt# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian jessie main contrib non-free
deb http://ftp.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org jessie/updates main contrib non-free
deb http://ftp.debian.org/debian jessie-backports main contrib non-free
deb http://ftp.debian.org/debian jessie-proposed-updates contrib non-free main
Code: Select all
/DietPi/dietpi/dietpi-apt-get_update 2 && apt-cache search bash-doc
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Issues installing optimized software on xu4
found it.... sweet jesus I found it.
Part of some goddamn tutorial i used (probably an htpcguide.com doc) for one of the python downloaders (sab, or sickbeard, or couchpotato, or headphones) had an interesting thing to help separate jessie from wheezy. in /etc/apt/preferences.d/ i found a jessie.pref file.
it reads like so:
Package: *
Pin: release n=jessie
Pin-Priority: -1
From what I can tell, this affects the behavior of apt to limit options for install. anyways, renamed to jessie.prefs.old and ran apt-get update. got a significantly longer listing of sources flying by, apt-cache search bash-doc results in a found package... and dietpi-software allows me to install stuff again.
Part of some goddamn tutorial i used (probably an htpcguide.com doc) for one of the python downloaders (sab, or sickbeard, or couchpotato, or headphones) had an interesting thing to help separate jessie from wheezy. in /etc/apt/preferences.d/ i found a jessie.pref file.
it reads like so:
Package: *
Pin: release n=jessie
Pin-Priority: -1
From what I can tell, this affects the behavior of apt to limit options for install. anyways, renamed to jessie.prefs.old and ran apt-get update. got a significantly longer listing of sources flying by, apt-cache search bash-doc results in a found package... and dietpi-software allows me to install stuff again.
Re: Issues installing optimized software on xu4
Sweet mother of Mary Jesus, salutations with frankincense and mur! (sorry, couldn't resist. My humor is a little "weird" lol)boblablah wrote:found it.... sweet jesus I found it.

Interesting, i've not seen this option before, its a new one for me. Great find and thanks for letting us know!Part of some goddamn tutorial i used (probably an htpcguide.com doc) for one of the python downloaders (sab, or sickbeard, or couchpotato, or headphones) had an interesting thing to help separate jessie from wheezy. in /etc/apt/preferences.d/ i found a jessie.pref file.
it reads like so:
Package: *
Pin: release n=jessie
Pin-Priority: -1
From what I can tell, this affects the behavior of apt to limit options for install. anyways, renamed to jessie.prefs.old and ran apt-get update. got a significantly longer listing of sources flying by, apt-cache search bash-doc results in a found package... and dietpi-software allows me to install stuff again.

If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.