XenialDog (Ubuntu 16.04 'Xenial Xerus' LTS, 32-bit)
Did another :
root@xenial:~# dpkg --configure -a
Setting up linux-image-4.4.0-112-generic (4.4.0-112.135) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-4.4.0-112-generic
vmlinuz(/boot/vmlinuz-4.4.0-112-generic
) points to /boot/vmlinuz-4.4.0-112-generic
(/boot/vmlinuz-4.4.0-112-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-4.4.0-112-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-112-generic /boot/vmlinuz-4.4.0-112-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-112-generic /boot/vmlinuz-4.4.0-112-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-112-generic
mktemp: failed to create directory via template ‘/var/tmp/mkinitramfs_XXXXXX’: No such file or directory
update-initramfs: failed for /boot/initrd.img-4.4.0-112-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.4.0-112-generic.postinst line 1052.
dpkg: error processing package linux-image-4.4.0-112-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-4.4.0-112-generic; however:
Package linux-image-4.4.0-112-generic is not configured yet.
linux-image-generic depends on linux-image-extra-4.4.0-112-generic; however:
Package linux-image-extra-4.4.0-112-generic is not installed.
dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-4.4.0-112-generic
linux-image-generic
root@xenial:~#
root@xenial:~# dpkg --configure -a
Setting up linux-image-4.4.0-112-generic (4.4.0-112.135) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-4.4.0-112-generic
vmlinuz(/boot/vmlinuz-4.4.0-112-generic
) points to /boot/vmlinuz-4.4.0-112-generic
(/boot/vmlinuz-4.4.0-112-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-4.4.0-112-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-112-generic /boot/vmlinuz-4.4.0-112-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-112-generic /boot/vmlinuz-4.4.0-112-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-112-generic
mktemp: failed to create directory via template ‘/var/tmp/mkinitramfs_XXXXXX’: No such file or directory
update-initramfs: failed for /boot/initrd.img-4.4.0-112-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.4.0-112-generic.postinst line 1052.
dpkg: error processing package linux-image-4.4.0-112-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-4.4.0-112-generic; however:
Package linux-image-4.4.0-112-generic is not configured yet.
linux-image-generic depends on linux-image-extra-4.4.0-112-generic; however:
Package linux-image-extra-4.4.0-112-generic is not installed.
dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-4.4.0-112-generic
linux-image-generic
root@xenial:~#
Hi backi, it seems to get stuck at this point:
So something is wrong there.
Can you look if you have /var/tmp directory ?
If not, create it:
EDIT: Correct permissions should be 777 for /var/tmp, so should be (thanks rcrsn51):
And try running upgrade-kernel again.
@Ken, thanks, that's a very different problem, I'll look into it and get back later.
EDIT: So you can create new file or folder in /mnt/sdb1//17xendog/casper ? (is writable?)
Output from:
Should be for casper folder:
Fred
Code: Select all
mktemp: failed to create directory via template ‘/var/tmp/mkinitramfs_XXXXXX’: No such file or directory
Can you look if you have /var/tmp directory ?
If not, create it:
Code: Select all
mkdir /var/tmp
Code: Select all
mkdir -m 1777 /var/tmp
@Ken, thanks, that's a very different problem, I'll look into it and get back later.
EDIT: So you can create new file or folder in /mnt/sdb1//17xendog/casper ? (is writable?)
Output from:
Code: Select all
ls -l /mnt/sdb1//17xendog/
Code: Select all
drwxr-xr-x ... ... ....
Last edited by fredx181 on Wed 24 Jan 2018, 16:11, edited 2 times in total.
Hey, backi, great !!backi wrote:Hi Fred !
You`re the Man .
Thanks a lot
Did help ........
Another silly Question ,,,,,do i have to save the Session afterwards .?
Kind of a mystery that you didn't have /var/tmp, it should be there by default.
Yes, you must save the session and after reboot you can uninstall the older kernel if you want.
Fred
Hi Fred !
Me once again .....
How to? Removing the old one ?Is this correct ?:
apt-get purge linux-image-4.4.0-112-generic linux-image-extra-4.4.0-59-generic
Can it be done also with Bleachbit ?
Thanks rcrsn51 for the Advice !
Me once again .....
Yes, you must save the session and after reboot you can uninstall the older kernel if you want.
How to? Removing the old one ?Is this correct ?:
apt-get purge linux-image-4.4.0-112-generic linux-image-extra-4.4.0-59-generic
Can it be done also with Bleachbit ?
Thanks rcrsn51 for the Advice !
Ah, thanks, correct me if I'm wrong, so permissions should be this:rcrsn51 wrote:You should check that /var/tmp has 777 permissions. Some printer drivers use it and CUPS can be fussy about permissions.
Code: Select all
root@live:~# ls -l /var | grep tmp
drwxrwxrwt 2 root root 60 jan 24 16:44 tmp
Code: Select all
rm -fr /var/tmp
Code: Select all
mkdir -m 1777 /var/tmp
Code: Select all
root@live:~# ls -l /var | grep tmp
drwxrwxrwt 2 root root 60 jan 24 16:46 tmp
No, both should be 4.4.0-59 to be removed, so (after reboot check conky or "uname -a" if the new kernel 4.4.0-112 is in use)How to? Removing the old one ?Is this correct ?:
apt-get purge linux-image-4.4.0-112-generic linux-image-extra-4.4.0-59-generic
Code: Select all
apt-get purge linux-image-4.4.0-59-generic linux-image-extra-4.4.0-59-generic
Fred
Hi Fred,
I tried your code
Then I thought there was an extra back-slash(/) so I tried this
When that did not work I used the path to casper I get if I click through to it from sdb1 ie
The output from them all is shown below
Can I use the last path to upgrade the kernel?
Regards,
Ken.
I tried your code
Code: Select all
ls -l /mnt/sdb1//17xendog/
Code: Select all
ls -l /mnt/sdb1/17xendog/
Code: Select all
ls -1 /mnt/live/mnt/sdb1/17xendog/casper
Code: Select all
root@xenial:~# ls -l /mnt/sdb1//17xendog/
ls: cannot access '/mnt/sdb1//17xendog/': No such file or directory
root@xenial:~# ls -l /mnt/sdb1/17xendog/
ls: cannot access '/mnt/sdb1/17xendog/': No such file or directory
root@xenial:~# ls -1 /mnt/live/mnt/sdb1/17xendog/casper
01-filesystem.squashfs
base
changes.dat
initrd1.xz
modules
optional
rootcopy
vmlinuz
xenial-i486.sgn
root@xenial:~#
Regards,
Ken.
Hi Ken.
Thanks for the info, this is a bug, I'll work on new version of upgrade-kernel to make it work somehow with /mnt/live/mnt/....., will get back later about it.
Fred
That explains it, it happens in some cases that the mountpoint of the frugal install folder changes to that.ls -1 /mnt/live/mnt/sdb1/17xendog/casper
Thanks for the info, this is a bug, I'll work on new version of upgrade-kernel to make it work somehow with /mnt/live/mnt/....., will get back later about it.
Fred
Hi Fred !
Hope i do not become to annoying .
But there is some strange Effect .The mystery of the non existing /var/temp Folder in my Xenial Dog System......becomes even more mysterious .
mkdir -m 1777 /var/tmp during Session did create such a Folder.
But ......saving Session .....after Reboot .....looked into /var.....but no such Folder
/var/tmp to find . Did several Trials .
Despite creating /var/tmp and saving Session it did not survive after Reboot .
What about this ?????
Hope i do not become to annoying .
But there is some strange Effect .The mystery of the non existing /var/temp Folder in my Xenial Dog System......becomes even more mysterious .
mkdir -m 1777 /var/tmp during Session did create such a Folder.
But ......saving Session .....after Reboot .....looked into /var.....but no such Folder
/var/tmp to find . Did several Trials .
Despite creating /var/tmp and saving Session it did not survive after Reboot .
What about this ?????
Tried to change Permissions of Folder /var with PcmanFm .
Could not change all Permission to Anyone .
Pcmanfm on Folder var >Properties>Access Control>Permissions>change content to Anyone .
The files operation was completed with errors
Changing attributes of files : var
Errors occured :
lectured: Cannot set permissions on symlinks
run: Cannot set permissions on symlinks
rsyslog: Cannot set permissions on symlinks
icons: Cannot set permissions on symlinks
So this is probably why i am not being able to create /var/tmp permanently .
Could not change all Permission to Anyone .
Pcmanfm on Folder var >Properties>Access Control>Permissions>change content to Anyone .
The files operation was completed with errors
Changing attributes of files : var
Errors occured :
lectured: Cannot set permissions on symlinks
run: Cannot set permissions on symlinks
rsyslog: Cannot set permissions on symlinks
icons: Cannot set permissions on symlinks
So this is probably why i am not being able to create /var/tmp permanently .
Hi backi, no problem
I see that /var/tmp is excluded from saving (for save-on-exit, in /usr/bin/snapmergepuppy, as well as other tmp folders are also excluded)
Maybe you did a remaster earlier ? and something weird happened (as I said, /var/tmp should be part of the base filesystem).
Can you look in /mnt/live/memory/images/01-filesystem.squashfs/var/ if you find tmp folder or maybe a .wh.tmp file, or in some other directory (mounted SFS maybe ? in /mnt/live/memory/images/..../var/
Just guessing though, I never experienced something like that.
Depends on what you find to think for me about how to fix the problem.
@Ken, can you try new version of upgrade-kernel ? Should be fixed now.
Install v1.0.2 from Synaptic or with apt-get:
EDIT: @backi, another shot in the dark, also look in /mnt/live/memory/images/changes-exit/var/ if there's a .wh.tmp file, if there is, delete it and do anyway (this may fix the problem):
Reboot and check if /var/tmp exists
Fred
I see that /var/tmp is excluded from saving (for save-on-exit, in /usr/bin/snapmergepuppy, as well as other tmp folders are also excluded)
Maybe you did a remaster earlier ? and something weird happened (as I said, /var/tmp should be part of the base filesystem).
Can you look in /mnt/live/memory/images/01-filesystem.squashfs/var/ if you find tmp folder or maybe a .wh.tmp file, or in some other directory (mounted SFS maybe ? in /mnt/live/memory/images/..../var/
Just guessing though, I never experienced something like that.
Depends on what you find to think for me about how to fix the problem.
@Ken, can you try new version of upgrade-kernel ? Should be fixed now.
Install v1.0.2 from Synaptic or with apt-get:
Code: Select all
apt-get update
apt-get install upgrade-kernel # will install 1.0.2
Code: Select all
mkdir -m 1777 /mnt/live/memory/images/changes-exit/var/tmp
Fred
BionicDog preview
(added some new features and upgraded all packages)
*** BionicDog Preview (Ubuntu 18.04 Bionic Beaver development) ***
Hi Everyone,
New Alpha version , "Bionic Beaver" development stage.
Changes: Added "Desktop Manager" (similar as in Xenialdog) with choices:
- Openbox with rox-pinboard Desktop (bottom panel: tint2)
- Openbox with tint2 panels
- Openbox with pcmanfm providing the Desktop and LxPanel (bottom panel)
Fixed: loading encrypted savefile (previously didn't work)
Added: package: firefox-apulse, custom firefox package included, using apulse for support playing audio.
Login details:
root with password root (default automatic login)
puppy with password puppy
Specifications:
Built from an absolute minimal Ubuntu by using debootstrap.
Kernel: 4.14
Choice of Boot Methods: porteus-boot only , see options at the XenialDog Wiki Porteus-Boot
Default WM - OpenBox with Desktop choices (see above)
Default File Manager - pcmanfm with option to use rox.
Default Internet Browser - Firefox. (there is launcher for "firefox" running apulse, so audio works without pulseaudio installed)
Applications included: gnome-mplayer, mpv, abiword, pburn, pfind, gparted, synaptic, leafpad, quick-remaster, dogradio, peasywifi, wex and much more (almost as full featured as XenialDog)
TODO's: Testing.... testing..., upgrade packages (there will be many available during next months), and add more packages to custom repos (e.g. apps that rcrsn51 made for StretchDog (need to test first) )
Download:
32-bit ISO: https://github.com/fredx181/bionicdog/r ... -02-13.iso Size: 295 MB
Md5sum: https://github.com/fredx181/bionicdog/r ... -02-13.md5
64-bit ISO: https://github.com/fredx181/bionicdog/r ... -02-13.iso Size: 303 MB
Md5sum: https://github.com/fredx181/bionicdog/r ... -02-13.md5
Firmware .squashfs module: https://github.com/fredx181/bionicdog/r ... e.squashfs
Fred
*** BionicDog Preview (Ubuntu 18.04 Bionic Beaver development) ***
Hi Everyone,
New Alpha version , "Bionic Beaver" development stage.
Changes: Added "Desktop Manager" (similar as in Xenialdog) with choices:
- Openbox with rox-pinboard Desktop (bottom panel: tint2)
- Openbox with tint2 panels
- Openbox with pcmanfm providing the Desktop and LxPanel (bottom panel)
Fixed: loading encrypted savefile (previously didn't work)
Added: package: firefox-apulse, custom firefox package included, using apulse for support playing audio.
Code: Select all
root@live:~# cat /etc/issue
Ubuntu Bionic Beaver (development branch) \n \l
root with password root (default automatic login)
puppy with password puppy
Specifications:
Built from an absolute minimal Ubuntu by using debootstrap.
Kernel: 4.14
Choice of Boot Methods: porteus-boot only , see options at the XenialDog Wiki Porteus-Boot
Default WM - OpenBox with Desktop choices (see above)
Default File Manager - pcmanfm with option to use rox.
Default Internet Browser - Firefox. (there is launcher for "firefox" running apulse, so audio works without pulseaudio installed)
Applications included: gnome-mplayer, mpv, abiword, pburn, pfind, gparted, synaptic, leafpad, quick-remaster, dogradio, peasywifi, wex and much more (almost as full featured as XenialDog)
TODO's: Testing.... testing..., upgrade packages (there will be many available during next months), and add more packages to custom repos (e.g. apps that rcrsn51 made for StretchDog (need to test first) )
Download:
32-bit ISO: https://github.com/fredx181/bionicdog/r ... -02-13.iso Size: 295 MB
Md5sum: https://github.com/fredx181/bionicdog/r ... -02-13.md5
64-bit ISO: https://github.com/fredx181/bionicdog/r ... -02-13.iso Size: 303 MB
Md5sum: https://github.com/fredx181/bionicdog/r ... -02-13.md5
Firmware .squashfs module: https://github.com/fredx181/bionicdog/r ... e.squashfs
Fred
- Attachments
-
- bionicdog.jpg
- BionicDog Alpha
- (98.26 KiB) Downloaded 1155 times
After having so much success using XenialDog as the basis for a ZoneMinder CCTV NVR system... I am downloading and preparing to give this BionicDog a test run by using a zoneminder install script that works without error on XenialDog and see if with small modification it will give the same good results with this new OS......
test will be with the BionicDog32-alpha-2018-02-13.iso to begin with... LAMP and ZoneMinder with some bells and whistles will be installed.
test will be with the BionicDog32-alpha-2018-02-13.iso to begin with... LAMP and ZoneMinder with some bells and whistles will be installed.
Hello Fred,
I too have installed bionic dog. I thought it would overcome the problem I had of not being able to update the kernel in xenial dog. All seems to be working that I've tried so far. As you might remember I was trying to run gqrx a sdr program. I had trouble last time installing whats shown bellow except for the last line.
Your suggestion was to miss out the -y as shown in the reply you gave here.
http://murga-linux.com/puppy/viewtopic. ... 046#979046
This worked the last time but does not seem to work now.
Regards,
Ken.
I too have installed bionic dog. I thought it would overcome the problem I had of not being able to update the kernel in xenial dog. All seems to be working that I've tried so far. As you might remember I was trying to run gqrx a sdr program. I had trouble last time installing whats shown bellow except for the last line.
Code: Select all
sudo add-apt-repository -y ppa:bladerf/bladerf
sudo add-apt-repository -y ppa:ettusresearch/uhd
sudo add-apt-repository -y ppa:myriadrf/drivers
sudo add-apt-repository -y ppa:myriadrf/gnuradio
sudo add-apt-repository -y ppa:gqrx/gqrx-sdr
sudo apt-get update
http://murga-linux.com/puppy/viewtopic. ... 046#979046
Code: Select all
sudo add-apt-repository ppa:bladerf/bladerf
sudo add-apt-repository ppa:ettusresearch/uhd
sudo add-apt-repository ppa:myriadrf/drivers
sudo add-apt-repository ppa:myriadrf/gnuradio
sudo add-apt-repository ppa:gqrx/gqrx-sdr
sudo apt-get update
Have you any other suggestions as to how I could install these add-apt repositories other than the above?For info, to install the official add-apt-repository, do in terminal:
Code: Select all
apt-get install software-properties-common
But then you need to remove the included to make the official have prority:
rm -f /usr/local/bin/add-apt-repository
Regards,
Ken.
Hi Ken, the ppa's are not supporting bionic yet, (see for example Here and pic below) and besides that, without need for adding ppa's you can install gqrx-sdr
(gqrx-sdr is included in standard bionic repositories)
EDIT: The add-apt-repository script included in BionicDog needed a small fix, see attached, extract and replace in /usr/local/bin/.
The default is bionic now, but as I said, some ppa's are not supporting bionic yet.
To add repo for e.g. artful (I wouldn't recommend though), just add it to the command, e.g:
To find the webpage for a ppa, just google for example "ppa:rvm/smplayer"
(to check if it supports bionic, the smplayer ppa does, btw)
EDIT2: Forgot almost to mention, to make add-apt-repository work it's required to have package "dirmngr" installed:
Fred
(gqrx-sdr is included in standard bionic repositories)
Code: Select all
root@live:~# apt-get install gqrx-sdr
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libairspy0 libairspyhf0 libasound2-plugins libbladerf1 libboost-date-time1.65.1
libboost-program-options1.65.1 libboost-regex1.65.1 libboost-serialization1.65.1
libdouble-conversion1 libfreesrp0 libgnuradio-analog3.7.11 libgnuradio-audio3.7.11
libgnuradio-blocks3.7.11 libgnuradio-digital3.7.11 libgnuradio-fcd3.7.11
libgnuradio-fcdproplus3.7.11 libgnuradio-fft3.7.11 libgnuradio-filter3.7.11
libgnuradio-iqbalance3.7.11 libgnuradio-osmosdr0.1.4 libgnuradio-pmt3.7.11
libgnuradio-runtime3.7.11 libgnuradio-uhd3.7.11 libhackrf0 libhidapi-libusb0
liblog4cpp5v5 libmirisdr0 liborc-0.4-0 libosmosdr0 libportaudio2 libpulsedsp libqt5core5a
libqt5dbus5 libqt5gui5 libqt5network5 libqt5svg5 libqt5widgets5 librtlsdr0 libsoapysdr0.6
libtdb1 libuhd003.010.003 libvolk1.3 libwebrtc-audio-processing1 libxcb-icccm4
libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xinerama0 libxcb-xkb1
libxkbcommon-x11-0 pulseaudio pulseaudio-utils
Suggested packages:
bladerf bladerf-firmware bladerf-fpga qt5-image-formats-plugins qtwayland5 gnuradio
libvolk1-dev pavumeter pavucontrol paman paprefs ubuntu-sounds avahi-daemon
Recommended packages:
gr-fcdproplus gr-iqbal qttranslations5-l10n qt5-gtk-platformtheme soapysdr0.6-module-all
| soapysdr0.6-module libvolk1-bin rtkit
The following NEW packages will be installed:
gqrx-sdr libairspy0 libairspyhf0 libasound2-plugins libbladerf1 libboost-date-time1.65.1
libboost-program-options1.65.1 libboost-regex1.65.1 libboost-serialization1.65.1
libdouble-conversion1 libfreesrp0 libgnuradio-analog3.7.11 libgnuradio-audio3.7.11
libgnuradio-blocks3.7.11 libgnuradio-digital3.7.11 libgnuradio-fcd3.7.11
libgnuradio-fcdproplus3.7.11 libgnuradio-fft3.7.11 libgnuradio-filter3.7.11
libgnuradio-iqbalance3.7.11 libgnuradio-osmosdr0.1.4 libgnuradio-pmt3.7.11
libgnuradio-runtime3.7.11 libgnuradio-uhd3.7.11 libhackrf0 libhidapi-libusb0
liblog4cpp5v5 libmirisdr0 liborc-0.4-0 libosmosdr0 libportaudio2 libpulsedsp libqt5core5a
libqt5dbus5 libqt5gui5 libqt5network5 libqt5svg5 libqt5widgets5 librtlsdr0 libsoapysdr0.6
libtdb1 libuhd003.010.003 libvolk1.3 libwebrtc-audio-processing1 libxcb-icccm4
libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xinerama0 libxcb-xkb1
libxkbcommon-x11-0 pulseaudio pulseaudio-utils
0 upgraded, 53 newly installed, 0 to remove and 26 not upgraded.
Need to get 18.3 MB of archives.
After this operation, 75.7 MB of additional disk space will be used.
Do you want to continue? [Y/n]
The default is bionic now, but as I said, some ppa's are not supporting bionic yet.
To add repo for e.g. artful (I wouldn't recommend though), just add it to the command, e.g:
Code: Select all
add-apt-repository ppa:user/ppa-name artful
(to check if it supports bionic, the smplayer ppa does, btw)
EDIT2: Forgot almost to mention, to make add-apt-repository work it's required to have package "dirmngr" installed:
Code: Select all
apt-get install dirmngr
- Attachments
-
- add-apt-repository.tar.gz
- Fixed add-apt-repository for BionicDog
- (741 Bytes) Downloaded 145 times
-
- 2018-02-15-121303_487x515_scrot.png
- Highest supported is artful
- (54.69 KiB) Downloaded 1049 times
Hi Fred,
Thanks again for the information and the explanation. I have got gqrx installed and it is working but the site recommends the installation of the repositories I listed. I'll try your suggestions and report back. I hope to migrate from xenial to bionic. I'll try and do some general testing as well. First thing to report is I think peasy wifi is an improvement. Easy to use and worked first time (though I've got some previous experience of using it).
Regards,
Ken.
Thanks again for the information and the explanation. I have got gqrx installed and it is working but the site recommends the installation of the repositories I listed. I'll try your suggestions and report back. I hope to migrate from xenial to bionic. I'll try and do some general testing as well. First thing to report is I think peasy wifi is an improvement. Easy to use and worked first time (though I've got some previous experience of using it).
Regards,
Ken.