× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: apt-get trying to fix dependencies of unrelated packages

humbleus
Aspirant

apt-get trying to fix dependencies of unrelated packages

I went to install nano , the text editor to help making changes to an addon easier.

I get the following message:

Nas:~# apt-get install nano
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
php5-sqlite: Depends: libsqlite3-0 (>= 3.7.4) but 3.5.9-6.netgear1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I don't want to break anything (including addons), so what should I do?
Message 1 of 7
fastfwd
Virtuoso

Re: apt-get trying to fix dependencies of unrelated packages

What is the output of "cat /etc/apt/sources.list"?

Did you preface your "apt-get install nano" command with an "apt-get update" command?
Message 2 of 7
humbleus
Aspirant

Re: apt-get trying to fix dependencies of unrelated packages

I might have done an update because from the earlier response when trying to obtain nano text editor, I was lead to believe the sources needed to be updated to find new packages.

Nas:~# cat /etc/apt/sources.list
deb http://www.readynas.com/packages 4.1.12/
deb http://archive.debian.org/debian sarge main contrib non-free
Nas:~#
Message 3 of 7
fastfwd
Virtuoso

Re: apt-get trying to fix dependencies of unrelated packages

humbleus wrote:
I might have done an update because from the earlier response when trying to obtain nano text editor, I was lead to believe the sources needed to be updated to find new packages.

Your APT cache might or might not have "needed" to be updated, but the update could only have helped; it wouldn't have done any harm. You could do it again to make sure that your cache is up to date.

humbleus wrote:
Nas:~# cat /etc/apt/sources.list
deb http://www.readynas.com/packages 4.1.12/
deb http://archive.debian.org/debian sarge main contrib non-free
Nas:~#

Ah, sorry, I hadn't noticed that you were working with an NV+. Unfortunately, I don't know enough about RAIDiator 4.1.x to give specific advice about sources.

However, libsqlite3-0 version 3.7.4 wasn't released until the end of 2010, almost three years after official support for Sarge was dropped by the Debian project. If such a new version of libsqlite3-0 isn't available from the repositories in your sources.list, it seems odd that it would be required by a nano release available there.
Message 4 of 7
gibxxi
Guide

Re: apt-get trying to fix dependencies of unrelated packages

For anyone else attempting this on an x86 Legacy NAS, be aware that NETGEAR have deemed it necessary to comment out the second repository so the only "active" sources are now those provided by NETGEAR, which will probably foil any attempts at installing anything they don't want you to. My suspicion is that the RN-OS4 devices are now considered EOL, and so disabling this may prevent support traffic and/or prompt people to upgrade. Removing the "#" at the beginning of the second line in the sources list on FW4.2.24 will reverse this change.
Message 5 of 7
fastfwd
Virtuoso

Re: apt-get trying to fix dependencies of unrelated packages

gibxxi wrote:
For anyone else attempting this on an x86 Legacy NAS, be aware that NETGEAR have deemed it necessary to comment out the second repository so the only "active" sources are now those provided by NETGEAR, which will probably foil any attempts at installing anything they don't want you to. .... Removing the "#" at the beginning of the second line in the sources list on FW4.2.24 will reverse this change.

And if you're brave enough to do that, you might want to add a couple more sources, too. Here's the sources.list I use for my Pro Pioneer and Ultra 2 Plus running 4.2.24:

deb http://www.readynas.com/packages 4.2.24/
deb http://archive.debian.org/debian-security etch/updates main contrib non-free
deb http://archive.debian.org/backports.org etch-backports main contrib non-free
deb http://archive.debian.org/debian etch main contrib non-free

Using those sources, I've had no trouble with either device after performing an "apt-get update" followed by "apt-get upgrade". Your experience may differ, of course; as always, it is recommended to backup before upgrading.
Message 6 of 7
gibxxi
Guide

Re: apt-get trying to fix dependencies of unrelated packages

Since my Linux knowledge is distinctly limited, any idea what this means:
W: GPG error: http://archive.debian.org etch/updates Release: The following signatures were invalid: KEYEXPIRED 1356982504
W: You may want to run apt-get update to correct these problems

?
Message 7 of 7
Discussion stats
  • 6 replies
  • 5268 views
  • 0 kudos
  • 3 in conversation
Announcements