sudo apt-get update error

657 views
Skip to first unread message

Anderu K

unread,
May 20, 2016, 4:26:08 PM5/20/16
to security-onion
Hi,

is anyone having this error when trying to get update for Security Onion stable repository ?


E: Failed to fetch http://ppa.launchpad.net/securityonion/stable/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://ppa.launchpad.net/securityonion/stable/ubuntu/dists/xenial/main/binary-i386/Packages 404 Not Found
E: Failed to fetch http://ppa.launchpad.net/securityonion/test/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://ppa.launchpad.net/securityonion/test/ubuntu/dists/xenial/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.


Also, when I run sudo apt-get -y install securityonion-all syslog-ng-core
I get error message;

ubuntu:~$ sudo apt-get -y install securityonion-all syslog-ng-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package securityonion-all

Doug Burks

unread,
May 20, 2016, 4:47:36 PM5/20/16
to securit...@googlegroups.com
Hi Anderu,

Since the URLs include xenial, it sounds like you're trying to install
on Ubuntu 16.04. Please use Ubuntu 14.04 instead.
> --
> Follow Security Onion on Twitter!
> https://twitter.com/securityonion
> ---
> You received this message because you are subscribed to the Google Groups "security-onion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to security-onio...@googlegroups.com.
> To post to this group, send email to securit...@googlegroups.com.
> Visit this group at https://groups.google.com/group/security-onion.
> For more options, visit https://groups.google.com/d/optout.



--
Doug Burks

ars...@gmail.com

unread,
Aug 2, 2016, 1:36:58 PM8/2/16
to security-onion
Hi Doug,

I was wondering if there is manual process/way to try to upgrade/install current SO on Ubuntu 16.04 or even better when can we expect release available for Ubuntu 16.04 ?

I am interested in trying to install even if there are issues getting it to work and unsupported.

Regards

Ivan

Wes

unread,
Aug 2, 2016, 6:15:31 PM8/2/16
to security-onion

Ivan,

I suppose you could try installing the PPA on Ubuntu 16.04 (at your own risk--various things may or may not work).

Of course, this wouldn't be supported.

Thanks,
Wes

Thanks,
Wes

ars...@gmail.com

unread,
Aug 3, 2016, 10:30:38 AM8/3/16
to security-onion

Hi Wes,

I have already tried, but I was unable to do it by using parts of 12.04 to 14.04 update guide for update process.

Server was 12.04 and had stable SO installed. Then I upgraded server to 14.04 and used that 12.04-14.04 guide and SO was working on 14.04 fine.

After that I did next distro upgrade to 16.04.1, however, adding PPA as suggested results in error Anderu pointed out since there is no Xenial repository.

I manually edited .list file to point it back to trusty :

cat /etc/apt/sources.list.d/securityonion-ubuntu-stable-xenial.list

deb http://ppa.launchpad.net/securityonion/stable/ubuntu trusty main

but I am still getting unmet dependencies when trying to install server like :

$ sudo apt-get install securityonion-server


Reading package lists... Done
Building dependency tree
Reading state information... Done

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
securityonion-server : Depends: securityonion-sguil-server but it is not going to be installed
Depends: securityonion-squert but it is not going to be installed
Depends: securityonion-squert-cron but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I was hoping not to have to purge it all and start install from scratch because I have SO configured and working.

Certainly, as last resort, I could backup various config files and try fresh install, but I am curious if there is a way to re-install it in the same fashion I did after upgrade to 14.04 ?

Regards

Ivan

ars...@gmail.com

unread,
Aug 3, 2016, 5:12:57 PM8/3/16
to security-onion

I have made it little further by listing all packages in single apt-get install line, however, I am still facing dependencies. Claims php isn't installed, but I did manually install PHP 5.5 and also libc6 is newer than needed for Bro.
Tried to manually edit /var/lib/dpkg/status file with << 2.24 however, sudo apt-cache show securityonion-bro shows bro listed twice requiring 2.20 and 2.24 which I manually added. Not sure how to update status file so it doesn't ask for libc6 and php so I can proceed.

$ sudo apt-get install securityonion-server securityonion-sguil-server securityonion-squert securityonion-bro securityonion-tcpudpflow libgoogle-perftools4


Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:

securityonion-bro : Depends: libc6 (< 2.20) but 2.23-0ubuntu3 is to be installed
securityonion-squert : Depends: php5 but it is not installable
Depends: libapache2-mod-php5 but it is not installable
Depends: php5-mysql but it is not installable
Depends: php5-cli but it is not installable
Depends: php5-gd but it is not installable


E: Unable to correct problems, you have held broken packages.

$ php -v
PHP 5.5.38-1+deb.sury.org~xenial+1 (cli)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies

ars...@gmail.com

unread,
Aug 8, 2016, 11:33:51 AM8/8/16
to security-onion

Let me know if anyone has any suggestions on how to try to install current SO repository onto 16.04.01 as I was unable to resolve problems mentioned above.

Regards

Ivan

Doug Burks

unread,
Aug 8, 2016, 11:38:45 AM8/8/16
to securit...@googlegroups.com
On Mon, Aug 8, 2016 at 11:33 AM, <ars...@gmail.com> wrote:
> Let me know if anyone has any suggestions on how to try to install current SO repository onto 16.04.01 as I was unable to resolve problems mentioned above.

Hi Ivan,

As mentioned previously, we don't support 16.04 right now.
--
Doug Burks

ars...@gmail.com

unread,
Aug 8, 2016, 12:39:16 PM8/8/16
to security-onion

Ok, no problem. I was hoping there was a way to somehow install it manually and I could play around to try to make it all work.

Let me know if there is any anticipated timeline when 16.04 repository is expected to become available ( it doesn't have to be stable release, I will try it ).

I appreciate your efforts.

Regards

Ivan

Reply all
Reply to author
Forward
0 new messages