Hi,
I had the same error.
"mv /etc/apt/apt.conf.d/99openmediavault-release /root/" did the trick.
Thanks!
Sined
Hi,
I had the same error.
"mv /etc/apt/apt.conf.d/99openmediavault-release /root/" did the trick.
Thanks!
Sined
Alles anzeigenI think I have the same problem. Trying to update OMV via web-gui its stucked at the point "Reading state information".
Then I tried all above mentioned steps. But on my OMV i did not have the file "/etc/apt/apt.conf.d/99openmediavault-release" or "/etc/apt/apt.conf".
The ouput of "
"
is:
Code/etc/apt/sources.list:deb http://ftp.de.debian.org/debian stable main contrib non-free /etc/apt/sources.list.d/omv-extras-org-kralizec.list:deb http://www.greyhole.net/releases/deb stable main
How could I solve this?
Thanks!!
Change stable
http://ftp.de.debian.org/debian stable main contrib non-free
to wheezy
http://ftp.de.debian.org/debian wheezy main contrib non-free
Same for me (version 1.18). Now it is ok.
Thank for the tip.
You don't need /etc/apt/apt.conf. While changing it does work, you can delete the file - rm -f /etc/apt/apt.conf
i've got this:
Traceback (most recent call last):
File "/usr/sbin/omv-mkaptidx", line 55, in <module>
cache = apt.cache.Cache()
File "/usr/lib/python3/dist-packages/apt/cache.py", line 102, in __init__
self.open(progress)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 145, in open
self._cache = apt_pkg.Cache(progress)
SystemError: E:The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources
Reading package lists... Done
W: GPG error: http://download.opensuse.org Release: The following signatures were invalid: KEYEXPIRED 1397815516
Reading package lists... Done
E: The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources
For the stable error, try: rm -f /etc/apt/apt.conf.d/99openmediavault-release /etc/apt/apt.conf
For the key issue, try:
wget http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/Release.key
apt-key add Release.key
ZitatChange stable
http://ftp.de.debian.org/debian stable main contrib non-free
to wheezy
http://ftp.de.debian.org/debian wheezy main contrib non-free
Yeah, this have worked! Everything is fine now. Once again thanks to ryecoaaron!!!!
[quote='ryecoaaron','http://forums.openmediavault.org/index.php/Thread/8404-OMV-1-18-CRON-APT-Error-The-value-stable-is-invalid-for-APT-Default-Release-as-s/?postID=78430#post78430']For the stable error, try: rm -f /etc/apt/apt.conf.d/99openmediavault-release /etc/apt/apt.conf
kisses all over :o)
but:
Errors were encountered while processing:
/var/cache/apt/archives/owncloud-server_8.0.3-1_all.deb
Creating index of upgradeable packages ...
Creating index of OpenMediaVault plugins ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@OMVServer:~#
What does apt-get -f install tell you?
You can delete that file (/etc/apt/apt.conf). It is not needed.
Thanks ryecoaaron, that did the trick for me, too. Back to normal
I have an OMV installation which has been updated from OMV 0.5.x to OMV 1.x.
I have tried everything in this thread and I am getting the following. First I do not have "99openmediavault-release" This file at all. I don't have an apt.conf file either.
I also ran this
wget http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/Release.key
apt-key add Release.key
Still no joy
I am getting the following
Ign file: Release.gpg
Ign file: Release
Ign file: Translation-en_US
Ign file: Translation-en
Hit http://ftp.us.debian.org wheezy Release.gpg
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://packages.omv-extras.org kralizec Release.gpg
Hit http://ftp.us.debian.org wheezy-updates Release.gpg
Hit http://security.debian.org wheezy/updates Release
Hit http://packages.omv-extras.org kralizec Release
Hit http://ftp.us.debian.org wheezy Release
Get:1 http://packages.openmediavault.org kralizec Release.gpg [181 B]
Hit http://ftp.us.debian.org wheezy-updates Release
Hit http://security.debian.org wheezy/updates/main Sources
Hit http://packages.omv-extras.org kralizec/main amd64 Packages
Hit http://ftp.us.debian.org wheezy/main Sources
Hit http://security.debian.org wheezy/updates/contrib Sources
Hit http://ftp.us.debian.org wheezy/main amd64 Packages
Hit http://packages.openmediavault.org kralizec Release
Err http://packages.openmediavault.org kralizec Release
Hit http://ftp.us.debian.org wheezy/main Translation-en
Hit http://security.debian.org wheezy/updates/non-free Sources
Hit http://ftp.us.debian.org wheezy-updates/main Sources
Hit http://security.debian.org wheezy/updates/main amd64 Packages
Hit http://security.debian.org wheezy/updates/contrib amd64 Packages
Hit http://ftp.us.debian.org wheezy-updates/contrib Sources
Hit http://security.debian.org wheezy/updates/non-free amd64 Packages
Hit http://ftp.us.debian.org wheezy-updates/non-free Sources
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Hit http://ftp.us.debian.org wheezy-updates/main amd64 Packages/DiffIndex
Hit http://ftp.us.debian.org wheezy-updates/contrib amd64 Packages
Hit http://ftp.us.debian.org wheezy-updates/non-free amd64 Packages
Hit http://ftp.us.debian.org wheezy-updates/contrib Translation-en
Hit http://ftp.us.debian.org wheezy-updates/main Translation-en/DiffIndex
Hit http://ftp.us.debian.org wheezy-updates/non-free Translation-en
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://security.debian.org wheezy/updates/non-free Translation-en
Ign http://packages.omv-extras.org kralizec/main Translation-en_US
Ign http://packages.omv-extras.org kralizec/main Translation-en
Fetched 181 B in 2s (60 B/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.openmediavault.org kralizec Release: The following signatures were invalid: BADSIG 7E7A6C592EF35D13 OpenMediaVault.org (OpenMediaVault packages archive) <packages@openmediavault.org>
W: Failed to fetch http://packages.openmediavault.org/public/dists/kralizec/Release
W: Some index files failed to download. They have been ignored, or old ones used instead.
Alles anzeigen
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I think that covers anything. If I missed something please let me know I will give more details. This is a less that 7 day install if that matters.
I'm sure you have stable in your sources.list. What is the output of: grep -r stable /etc/apt/*
I don't have that file on any of my systems either.
As root:
mv /etc/apt/apt.conf.d/99openmediavault-release /root/
apt-get update
If no errors, delete the file:
rm /root/99openmediavault-release
I had OMV 1.18 and I got no updates for several days in Web-GUI.
This was the solution.
Thanks
I'm sure you have stable in your sources.list. What is the output of: grep -r stable /etc/apt/*
Sorry I did include that in the original but here it is again
I do not have stable in my sources.list.
But I do have wheezy see below
root@xxxx:/etc/apt/apt.conf.d# grep -r wheezy /etc/apt/*
/etc/apt/sources.list:# deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150108-14:12]/ wheezy contrib main non-free
/etc/apt/sources.list:#deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150108-14:12]/ wheezy contrib main non-free
/etc/apt/sources.list:deb http://ftp.us.debian.org/debian/ wheezy main
/etc/apt/sources.list:deb-src http://ftp.us.debian.org/debian/ wheezy main
/etc/apt/sources.list:deb http://security.debian.org/ wheezy/updates main contrib non-free
/etc/apt/sources.list:deb-src http://security.debian.org/ wheezy/updates main contrib non-free
/etc/apt/sources.list:# wheezy-updates, previously known as 'volatile'
/etc/apt/sources.list:deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
/etc/apt/sources.list:deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
Binary file /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg matches
Binary file /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg~ matches
Alles anzeigen
Try: omv-mkconf omvextrasorg aptclean
Try: omv-mkconf omvextrasorg aptclean
Bingo thank you much that solved it. Appreciate the help man.
I'm always little behind... Same problem and same solution - now it's good.
Two suggestions:
We should make a sticky post for that thread. I've found it only via Startpage.
It is Sticky.
Greetings
David
Dear all,
I´m sorry to tell you, that any of your information doesn´t help me.
DNS ist set, there is no apt.conf, no stable in sources.list, downloading the the Release.key does not work because opensuse.org could not be found, the file 99openmediavault.... was moved, omv-mkconf omvextrsaorg aptclean tells me there is a unknow script. Nothing of that works. Even apt-get -f install generates the output "package files will be reading...."
As I updates /etc/network/interfaces with dns-nameserver.... it works for a short time.
It seems to be DNS. In which file I can add it permanently too? In .../interfaces it seems to be not working and /resolv.conf will be overwritten :-((
13:15h:
updating /resolv.conf it works perfectly. But these file seems to be overwritten. What can I do to fix it permanently?
the GUI didn´t any updates!!
14:55h:
copy /etc/resolv.conf to /etc/resolv.default, delete all lines and add your nameserver
create an script "/etc/resolv.default.d"and add the following lines:
#!/bin/sh
cp /etc/resolv.default /etc/resolv.conf
make it executable with "chmod 755 /etc/resolv.default.d"
add path "/etc/resolv.default" (without " ") in /etc/rc.local BEFORE exit 0.
From now on the system boots every time, the script will copy /etc/resolv.default to /etc/resolv.conf and I have my DNS....
THAT´S MY WORKAROUND....
Regards
Kai
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!