[Fixed]can't update eve-ng with apt-get

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Locked
daggeraxe3
Posts: 3
Joined: Wed May 17, 2017 7:44 am

[Fixed]can't update eve-ng with apt-get

Post by daggeraxe3 » Wed Nov 15, 2017 8:26 am

hello everyone,
i can't update eve-ng use 'apt-get' due to the network issue(i'm in china), i can't get the update file from everbx.podzone.net. the following is the log.
so i was wondering how to get the deb packet and use local installation.

thank you!

Code: Select all

root@eve:~# apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease                                                                                                  
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]                                                                       
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [657 kB]                                             
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [622 kB]                                                                                                                                                    
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [275 kB]                                                                                                                                                   
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [544 kB]                                                                                                                                               
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [518 kB]                                                                                                                                                
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.2 kB]                                                                                                                                            
Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [15.3 kB]                                                                                                                                             
Get:10 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                                                                                                                                                             
Get:11 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3,212 B]                                                                                                                                            
Get:12 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [3,384 B]                                                                                                                                             
Ign:13 http://everbx.podzone.net/repo xenial InRelease                                                                                                                                                                                  
Ign:14 http://everbx.podzone.net/repo xenial Release
Ign:15 http://everbx.podzone.net/repo xenial/main amd64 Packages
Ign:16 http://everbx.podzone.net/repo xenial/main all Packages
Ign:17 http://everbx.podzone.net/repo xenial/main Translation-en_US
Ign:18 http://everbx.podzone.net/repo xenial/main Translation-en
Ign:15 http://everbx.podzone.net/repo xenial/main amd64 Packages
Ign:16 http://everbx.podzone.net/repo xenial/main all Packages
Ign:17 http://everbx.podzone.net/repo xenial/main Translation-en_US
Ign:18 http://everbx.podzone.net/repo xenial/main Translation-en
Ign:15 http://everbx.podzone.net/repo xenial/main amd64 Packages
Ign:16 http://everbx.podzone.net/repo xenial/main all Packages
Ign:17 http://everbx.podzone.net/repo xenial/main Translation-en_US
Ign:18 http://everbx.podzone.net/repo xenial/main Translation-en
Ign:15 http://everbx.podzone.net/repo xenial/main amd64 Packages
Ign:16 http://everbx.podzone.net/repo xenial/main all Packages
Ign:17 http://everbx.podzone.net/repo xenial/main Translation-en_US
Ign:18 http://everbx.podzone.net/repo xenial/main Translation-en
Ign:15 http://everbx.podzone.net/repo xenial/main amd64 Packages
Ign:16 http://everbx.podzone.net/repo xenial/main all Packages
Ign:17 http://everbx.podzone.net/repo xenial/main Translation-en_US
Ign:18 http://everbx.podzone.net/repo xenial/main Translation-en
Err:15 http://everbx.podzone.net/repo xenial/main amd64 Packages
  Connection failed
Ign:16 http://everbx.podzone.net/repo xenial/main all Packages
Ign:17 http://everbx.podzone.net/repo xenial/main Translation-en_US
Ign:18 http://everbx.podzone.net/repo xenial/main Translation-en
Fetched 2,859 kB in 17min 40s (2,695 B/s)
Reading package lists... Done
W: The repository 'http://everbx.podzone.net/repo xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://everbx.podzone.net/repo/dists/xenial/main/binary-amd64/Packages  Connection failed
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@eve:~# apt-get install eve-ng
Reading package lists... Done
Building dependency tree       
Reading state information... Done
eve-ng is already the newest version (2.0.3-53).
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
Last edited by daggeraxe3 on Wed Nov 15, 2017 9:34 am, edited 2 times in total.

daggeraxe3
Posts: 3
Joined: Wed May 17, 2017 7:44 am

Re: how to update eve-ng offline

Post by daggeraxe3 » Wed Nov 15, 2017 9:32 am

this issue is fixed, i replace the source.list
deb [arch=amd64] http://everbx.podzone.net/repo xenial main
:arrow:
deb [arch=amd64] http://www.eve-ng.net/repo xenial main

Code: Select all

root@eve:/etc/apt# apt-get update
Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:4 http://www.eve-ng.net/repo xenial InRelease [1,437 B]             
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:5 http://www.eve-ng.net/repo xenial/main amd64 Packages [5,003 B]              
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Fetched 211 kB in 1s (120 kB/s)   
Reading package lists... Done
root@eve:/etc/apt# apt-get install eve-ng
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  cgroup-lite cgroup-tools eve-ng-guacamole eve-ng-qemu eve-ng-schema kernel-common libcgroup1 libnih-dbus1 linux-headers-4.9.40-eve-ng-ukms+ linux-image-4.9.40-eve-ng-ukms-2+ mountall
Suggested packages:
  kernel-package fdutils linux-doc-4.9.40-eve-ng-ukms-2+ | linux-source-4.9.40-eve-ng-ukms-2+ linux-image-4.9.40-eve-ng-ukms-2+-dbg linux-manual-4.9.40-eve-ng-ukms-2+
The following NEW packages will be installed:
  cgroup-lite cgroup-tools kernel-common libcgroup1 libnih-dbus1 linux-headers-4.9.40-eve-ng-ukms+ linux-image-4.9.40-eve-ng-ukms-2+ mountall
The following packages will be upgraded:
  eve-ng eve-ng-guacamole eve-ng-qemu eve-ng-schema
4 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 163 MB of archives.
After this operation, 289 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://www.eve-ng.net/repo xenial/main amd64 eve-ng-schema amd64 2.0.3-69 [6,016 B]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libcgroup1 amd64 0.41-7ubuntu1 [42.1 kB]
Get:3 http://www.eve-ng.net/repo xenial/main amd64 eve-ng-guacamole amd64 2.0.3-69 [16.3 MB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libnih-dbus1 amd64 1.0.3-4.3ubuntu1 [14.1 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 mountall amd64 2.54ubuntu1 [56.8 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 cgroup-lite all 1.11 [4,192 B]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 cgroup-tools amd64 0.41-7ubuntu1 [64.4 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 kernel-common all 13.018 [24.6 kB]
Get:9 http://www.eve-ng.net/repo xenial/main amd64 linux-image-4.9.40-eve-ng-ukms-2+ amd64 4.9.40-eve-ng-ukms-2-brctl [48.9 MB]                                                                                                         
Get:10 http://www.eve-ng.net/repo xenial/main amd64 linux-headers-4.9.40-eve-ng-ukms+ amd64 4.9.40-eve-ng-ukms-brctl [8,585 kB]                                                                                                         
Get:11 http://www.eve-ng.net/repo xenial/main amd64 eve-ng-qemu amd64 2.0.3-72 [70.7 MB]                                                                                                                                                
Get:12 http://www.eve-ng.net/repo xenial/main amd64 eve-ng amd64 2.0.3-86 [18.3 MB]                                                                                                                                                     
Fetched 163 MB in 38s (4,272 kB/s)                                                                                                                                                                                                      
Preconfiguring packages ...
(Reading database ... 89603 files and directories currently installed.)
Preparing to unpack .../eve-ng-schema_2.0.3-69_amd64.deb ...
Setting MySQL root password... Unpacking eve-ng-schema (2.0.3-69) over (2.0.1-60) ...
Setting up eve-ng-schema (2.0.3-69) ...
(Reading database ... 89604 files and directories currently installed.)
Preparing to unpack .../eve-ng-guacamole_2.0.3-69_amd64.deb ...
Checking MySQL... done
Checking if guacdb shema is up to date... mysql: [Warning] Using a password on the command line interface can be insecure.
Updating guacdb database... done
Unpacking eve-ng-guacamole (2.0.3-69) over (2.0.1-60) ...
Selecting previously unselected package linux-image-4.9.40-eve-ng-ukms-2+.
Preparing to unpack .../linux-image-4.9.40-eve-ng-ukms-2+_4.9.40-eve-ng-ukms-2-brctl_amd64.deb ...
Examining /etc/kernel/preinst.d/
Done.
Unpacking linux-image-4.9.40-eve-ng-ukms-2+ (4.9.40-eve-ng-ukms-2-brctl) ...
Selecting previously unselected package linux-headers-4.9.40-eve-ng-ukms+.
Preparing to unpack .../linux-headers-4.9.40-eve-ng-ukms+_4.9.40-eve-ng-ukms-brctl_amd64.deb ...
Unpacking linux-headers-4.9.40-eve-ng-ukms+ (4.9.40-eve-ng-ukms-brctl) ...
Preparing to unpack .../eve-ng-qemu_2.0.3-72_amd64.deb ...
Unpacking eve-ng-qemu (2.0.3-72) over (2.0.2-16) ...
dpkg: warning: unable to delete old directory '/opt/qemu/libexec': Directory not empty
dpkg: warning: unable to delete old directory '/opt/qemu/lib/pkgconfig': Directory not empty
dpkg: warning: unable to delete old directory '/opt/qemu/lib': Directory not empty
dpkg: warning: unable to delete old directory '/opt/qemu/share/qemu/keymaps': Directory not empty
dpkg: warning: unable to delete old directory '/opt/qemu/share/qemu': Directory not empty
dpkg: warning: unable to delete old directory '/opt/qemu/share/doc/qemu': Directory not empty
dpkg: warning: unable to delete old directory '/opt/qemu/share/doc': Directory not empty
dpkg: warning: unable to delete old directory '/opt/qemu/share/man/man8': Directory not empty
dpkg: warning: unable to delete old directory '/opt/qemu/share/man/man1': Directory not empty
dpkg: warning: unable to delete old directory '/opt/qemu/share/man': Directory not empty
dpkg: warning: unable to delete old directory '/opt/qemu/share': Directory not empty
dpkg: warning: unable to delete old directory '/opt/qemu/include/cacard': Directory not empty
dpkg: warning: unable to delete old directory '/opt/qemu/include': Directory not empty
dpkg: warning: unable to delete old directory '/opt/qemu/bin': Directory not empty
dpkg: warning: unable to delete old directory '/opt/qemu/var/run': Directory not empty
dpkg: warning: unable to delete old directory '/opt/qemu/var': Directory not empty
Selecting previously unselected package libcgroup1:amd64.
Preparing to unpack .../libcgroup1_0.41-7ubuntu1_amd64.deb ...
Unpacking libcgroup1:amd64 (0.41-7ubuntu1) ...
Selecting previously unselected package libnih-dbus1:amd64.
Preparing to unpack .../libnih-dbus1_1.0.3-4.3ubuntu1_amd64.deb ...
Unpacking libnih-dbus1:amd64 (1.0.3-4.3ubuntu1) ...
Selecting previously unselected package mountall.
Preparing to unpack .../mountall_2.54ubuntu1_amd64.deb ...
Unpacking mountall (2.54ubuntu1) ...
Selecting previously unselected package cgroup-lite.
Preparing to unpack .../cgroup-lite_1.11_all.deb ...
Unpacking cgroup-lite (1.11) ...
Selecting previously unselected package cgroup-tools.
Preparing to unpack .../cgroup-tools_0.41-7ubuntu1_amd64.deb ...
Unpacking cgroup-tools (0.41-7ubuntu1) ...
Processing triggers for systemd (229-4ubuntu21) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
Setting up eve-ng-guacamole (2.0.3-69) ...
Enable services at boot... done
Starting Tomcat... done
done
(Reading database ... 118221 files and directories currently installed.)
Preparing to unpack .../eve-ng_2.0.3-86_amd64.deb ...
Checking MySQL... done
Unpacking eve-ng (2.0.3-86) over (2.0.3-53) ...
Selecting previously unselected package kernel-common.
Preparing to unpack .../kernel-common_13.018_all.deb ...
Unpacking kernel-common (13.018) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up linux-image-4.9.40-eve-ng-ukms-2+ (4.9.40-eve-ng-ukms-2-brctl) ...

 Hmm. There is a symbolic link /lib/modules/4.9.40-eve-ng-ukms-2+/build
 However, I can not read it: No such file or directory
 Therefore, I am deleting /lib/modules/4.9.40-eve-ng-ukms-2+/build


 Hmm. The package shipped with a symbolic link /lib/modules/4.9.40-eve-ng-ukms-2+/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/4.9.40-eve-ng-ukms-2+/source

Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.9.40-eve-ng-ukms-2+ /boot/vmlinuz-4.9.40-eve-ng-ukms-2+
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.9.40-eve-ng-ukms-2+ /boot/vmlinuz-4.9.40-eve-ng-ukms-2+
update-initramfs: Generating /boot/initrd.img-4.9.40-eve-ng-ukms-2+
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.9.40-eve-ng-ukms-2+ /boot/vmlinuz-4.9.40-eve-ng-ukms-2+
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.9.40-eve-ng-ukms-2+ /boot/vmlinuz-4.9.40-eve-ng-ukms-2+
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.9.40-eve-ng-ukms-2+
Found initrd image: /boot/initrd.img-4.9.40-eve-ng-ukms-2+
Found linux image: /boot/vmlinuz-4.4.14-eve-ng-ukms+
Found initrd image: /boot/initrd.img-4.4.14-eve-ng-ukms+
Found linux image: /boot/vmlinuz-4.4.0-98-generic
Found initrd image: /boot/initrd.img-4.4.0-98-generic
done
Setting up linux-headers-4.9.40-eve-ng-ukms+ (4.9.40-eve-ng-ukms-brctl) ...
Examining /etc/kernel/header_postinst.d.
Setting up eve-ng-qemu (2.0.3-72) ...
Setting up libcgroup1:amd64 (0.41-7ubuntu1) ...
Setting up libnih-dbus1:amd64 (1.0.3-4.3ubuntu1) ...
Setting up mountall (2.54ubuntu1) ...
Setting up cgroup-lite (1.11) ...
Setting up cgroup-tools (0.41-7ubuntu1) ...
Setting up eve-ng (2.0.3-86) ...
Setting up kernel-common (13.018) ...
Replacing config file /etc/kernel-img.conf with new version
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
Processing triggers for ureadahead (0.100.0-19) ...

Uldis (UD)
Posts: 5080
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: [Fixed]can't update eve-ng with apt-get

Post by Uldis (UD) » Wed Nov 15, 2017 12:49 pm

topic closed
UD

Locked