Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Software & Applications / Re: sudo apt-get upgrade triggers syntax error - RESOLVED
« Last post by straybit on September 26, 2020, 07:28:30 am »
I was going to suggest that the caret was pointing to what looked like a comma to my aged eyes and perhaps it should have been a period.
Glad you got it resolved anyway.
Bruce
22
Software & Applications / Re: sudo apt-get upgrade triggers syntax error
« Last post by rkkc on September 26, 2020, 07:22:53 am »
GOT IT!   :D

It was the python interpreter.  Installed it in update alternatives and changed python to default to python2.

Code: [Select]
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
Code: [Select]
sudo update-alternatives --config python
Feel a little dumb, but I'm glad I went through this and didn't give up or just reinstall.  :)  Honestly, this is one thing I love about Linux.  You break it, you fix it, you learn along the way.  WOO!

Thank you all for assisting!
23
Software & Applications / Re: sudo apt-get upgrade triggers syntax error
« Last post by rkkc on September 26, 2020, 07:07:00 am »
I followed a guide on removing peppermint-system and purging related files.  I did NOT restart prior to reinstalling and it is throwing the same error.  I'm fairly convinced it has something to do with the python code in mint-adjust.py...  I just tried two things:

Code: [Select]
sudo python2 /usr/lib/linuxmint/mintSystem/mint-adjust.pyReturns nothing

Code: [Select]
sudo python /usr/lib/linuxmint/mintSystem/mint-adjust.pyReturns the error:
Code: [Select]
  File "/usr/lib/linuxmint/mintSystem/mint-adjust.py", line 173
    except Exception, detail:
                    ^
SyntaxError: invalid syntax

24
Software & Applications / Re: sudo apt-get upgrade triggers syntax error
« Last post by invisible on September 26, 2020, 12:48:17 am »
Try this in an internet search.
Quote
dpkg: error processing package peppermint-system (--configure):

Quite a few replies to peruse (including some from Peppermint forums)

Possibly, it is a case of removing and purging the offending package and then re-installing.

However, please tread carefully with system packages and please make sure you have back-ups.

25
Advanced Topics / Re: 5.4.0-48 Kernel install error
« Last post by VinDSL on September 26, 2020, 12:11:19 am »
BTW, Much Joy with PM7! I'm playing it safe this time (kernel-wise).   ;D

Here's my restored PM7 install. Same lappy -  UEFI Secure Boot, et cetera

26
Advanced Topics / Re: 5.4.0-48 Kernel install error
« Last post by VinDSL on September 25, 2020, 11:35:33 pm »
No problem(s). Working perfectly! UEFI Secure Boot, MOK, Shim, and the whole enchilada...

27
Advanced Topics / Re: 5.4.0-48 Kernel install error
« Last post by VinDSL on September 25, 2020, 11:09:30 pm »
Anyone else have this kernel installation error message pop up?

I've been resorrecting the PM7 install on my triple-boot 'Road Warrior' - been at it for a few weeks - and I'm putting the finishing touches on it. I had temporarily installed PM10, to get the PM7 ball rolling, and had no reason to update PM10.

Soooo... tonight I was thinking about your query (above) and decided to use my temporary PM10 OOTB install as a guinea pig.  I haven't rebooted yet, but I found the dialog in CLI interesting.

Code: [Select]
Preconfiguring packages ...
(Reading database ... 455650 files and directories currently installed.)
Preparing to unpack .../00-busybox-initramfs_1%3a1.27.2-2ubuntu3.3_amd64.deb ...
Unpacking busybox-initramfs (1:1.27.2-2ubuntu3.3) over (1:1.27.2-2ubuntu3.2) ...
Preparing to unpack .../01-busybox-static_1%3a1.27.2-2ubuntu3.3_amd64.deb ...
Unpacking busybox-static (1:1.27.2-2ubuntu3.3) over (1:1.27.2-2ubuntu3.2) ...
Preparing to unpack .../02-libpackagekit-glib2-18_1.1.9-1ubuntu2.18.04.6_amd64.deb ...
Unpacking libpackagekit-glib2-18:amd64 (1.1.9-1ubuntu2.18.04.6) over (1.1.9-1ubuntu2.18.04.5) ...
Preparing to unpack .../03-gir1.2-packagekitglib-1.0_1.1.9-1ubuntu2.18.04.6_amd64.deb ...
Unpacking gir1.2-packagekitglib-1.0 (1.1.9-1ubuntu2.18.04.6) over (1.1.9-1ubuntu2.18.04.5) ...
Preparing to unpack .../04-librados2_12.2.13-0ubuntu0.18.04.4_amd64.deb ...
Unpacking librados2 (12.2.13-0ubuntu0.18.04.4) over (12.2.13-0ubuntu0.18.04.3) ...
Preparing to unpack .../05-libcephfs2_12.2.13-0ubuntu0.18.04.4_amd64.deb ...
Unpacking libcephfs2 (12.2.13-0ubuntu0.18.04.4) over (12.2.13-0ubuntu0.18.04.3) ...
Selecting previously unselected package linux-modules-5.4.0-48-generic.
Preparing to unpack .../06-linux-modules-5.4.0-48-generic_5.4.0-48.52~18.04.1_amd64.deb ...
Unpacking linux-modules-5.4.0-48-generic (5.4.0-48.52~18.04.1) ...
Selecting previously unselected package linux-image-5.4.0-48-generic.
Preparing to unpack .../07-linux-image-5.4.0-48-generic_5.4.0-48.52~18.04.1_amd64.deb ...
Unpacking linux-image-5.4.0-48-generic (5.4.0-48.52~18.04.1) ...
Selecting previously unselected package linux-modules-extra-5.4.0-48-generic.
Preparing to unpack .../08-linux-modules-extra-5.4.0-48-generic_5.4.0-48.52~18.04.1_amd64.deb ...
Unpacking linux-modules-extra-5.4.0-48-generic (5.4.0-48.52~18.04.1) ...
Preparing to unpack .../09-linux-generic-hwe-18.04_5.4.0.48.52~18.04.42_amd64.deb ...
Unpacking linux-generic-hwe-18.04 (5.4.0.48.52~18.04.42) over (5.4.0.47.51~18.04.40) ...
Preparing to unpack .../10-linux-image-generic-hwe-18.04_5.4.0.48.52~18.04.42_amd64.deb ...
Unpacking linux-image-generic-hwe-18.04 (5.4.0.48.52~18.04.42) over (5.4.0.47.51~18.04.40) ...
Selecting previously unselected package linux-hwe-5.4-headers-5.4.0-48.
Preparing to unpack .../11-linux-hwe-5.4-headers-5.4.0-48_5.4.0-48.52~18.04.1_all.deb ...
Unpacking linux-hwe-5.4-headers-5.4.0-48 (5.4.0-48.52~18.04.1) ...
Selecting previously unselected package linux-headers-5.4.0-48-generic.
Preparing to unpack .../12-linux-headers-5.4.0-48-generic_5.4.0-48.52~18.04.1_amd64.deb ...
Unpacking linux-headers-5.4.0-48-generic (5.4.0-48.52~18.04.1) ...
Preparing to unpack .../13-linux-headers-generic-hwe-18.04_5.4.0.48.52~18.04.42_amd64.deb ...
Unpacking linux-headers-generic-hwe-18.04 (5.4.0.48.52~18.04.42) over (5.4.0.47.51~18.04.40) ...
Preparing to unpack .../14-shim_15+1552672080.a4a1fbe-0ubuntu2_amd64.deb ...
Unpacking shim (15+1552672080.a4a1fbe-0ubuntu2) over (15+1533136590.3beb971-0ubuntu1) ...
Preparing to unpack .../15-shim-signed_1.37~18.04.8+15+1552672080.a4a1fbe-0ubuntu2_amd64.deb ...
Unpacking shim-signed (1.37~18.04.8+15+1552672080.a4a1fbe-0ubuntu2) over (1.37~18.04.6+15+1533136590.3beb971-0ubuntu1) ...
Preparing to unpack .../16-snapd_2.46.1+18.04_amd64.deb ...
Unpacking snapd (2.46.1+18.04) over (2.45.1+18.04.2) ...
Preparing to unpack .../17-aptdaemon-data_1.1.1+bzr982-0ubuntu19.4_all.deb ...
Unpacking aptdaemon-data (1.1.1+bzr982-0ubuntu19.4) over (1.1.1+bzr982-0ubuntu19.3) ...
Preparing to unpack .../18-python3-aptdaemon.gtk3widgets_1.1.1+bzr982-0ubuntu19.4_all.deb ...
Unpacking python3-aptdaemon.gtk3widgets (1.1.1+bzr982-0ubuntu19.4) over (1.1.1+bzr982-0ubuntu19.3) ...
Preparing to unpack .../19-aptdaemon_1.1.1+bzr982-0ubuntu19.4_all.deb ...
Unpacking aptdaemon (1.1.1+bzr982-0ubuntu19.4) over (1.1.1+bzr982-0ubuntu19.3) ...
Preparing to unpack .../20-python3-aptdaemon_1.1.1+bzr982-0ubuntu19.4_all.deb ...
Unpacking python3-aptdaemon (1.1.1+bzr982-0ubuntu19.4) over (1.1.1+bzr982-0ubuntu19.3) ...
Preparing to unpack .../21-packagekit_1.1.9-1ubuntu2.18.04.6_amd64.deb ...
Unpacking packagekit (1.1.9-1ubuntu2.18.04.6) over (1.1.9-1ubuntu2.18.04.5) ...
Setting up aptdaemon-data (1.1.1+bzr982-0ubuntu19.4) ...
Setting up shim (15+1552672080.a4a1fbe-0ubuntu2) ...
Setting up shim-signed (1.37~18.04.8+15+1552672080.a4a1fbe-0ubuntu2) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
Setting up libpackagekit-glib2-18:amd64 (1.1.9-1ubuntu2.18.04.6) ...
Setting up linux-modules-5.4.0-48-generic (5.4.0-48.52~18.04.1) ...
Setting up librados2 (12.2.13-0ubuntu0.18.04.4) ...
Setting up busybox-initramfs (1:1.27.2-2ubuntu3.3) ...
Setting up libcephfs2 (12.2.13-0ubuntu0.18.04.4) ...
Setting up snapd (2.46.1+18.04) ...
Installing new version of config file /etc/apparmor.d/usr.lib.snapd.snap-confine.real ...
Installing new version of config file /etc/profile.d/apps-bin-path.sh ...
snapd.failure.service is a disabled or a static unit, not starting it.
snapd.snap-repair.service is a disabled or a static unit, not starting it.
Setting up gir1.2-packagekitglib-1.0 (1.1.9-1ubuntu2.18.04.6) ...
Setting up busybox-static (1:1.27.2-2ubuntu3.3) ...
Setting up linux-hwe-5.4-headers-5.4.0-48 (5.4.0-48.52~18.04.1) ...
Setting up packagekit (1.1.9-1ubuntu2.18.04.6) ...
Setting up linux-headers-5.4.0-48-generic (5.4.0-48.52~18.04.1) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.4.0-48-generic

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
'make' -j4 KLIB=/lib/modules/5.4.0-48-generic........................
Signing module:
 - /var/lib/dkms/backport-iwlwifi/7906/5.4.0-48-generic/x86_64/module/iwlmvm.ko
 - /var/lib/dkms/backport-iwlwifi/7906/5.4.0-48-generic/x86_64/module/cfg80211.ko
 - /var/lib/dkms/backport-iwlwifi/7906/5.4.0-48-generic/x86_64/module/mac80211.ko
 - /var/lib/dkms/backport-iwlwifi/7906/5.4.0-48-generic/x86_64/module/iwlxvt.ko
 - /var/lib/dkms/backport-iwlwifi/7906/5.4.0-48-generic/x86_64/module/compat.ko
 - /var/lib/dkms/backport-iwlwifi/7906/5.4.0-48-generic/x86_64/module/iwlwifi.ko
Adding '/var/lib/shim-signed/mok/MOK.der' to shim:
cleaning build area....

DKMS: build completed.

compat.ko:
Running module version sanity check.

Module has been obsoleted due to being included
in kernel 5.0.0.  We will avoid installing
for future kernels above 5.0.0.
You may override by specifying --force.

iwlwifi.ko:
Running module version sanity check.

Module has been obsoleted due to being included
in kernel 5.0.0.  We will avoid installing
for future kernels above 5.0.0.
You may override by specifying --force.

iwlxvt.ko:
Running module version sanity check.

Module has been obsoleted due to being included
in kernel 5.0.0.  We will avoid installing
for future kernels above 5.0.0.
You may override by specifying --force.

iwlmvm.ko:
Running module version sanity check.

Module has been obsoleted due to being included
in kernel 5.0.0.  We will avoid installing
for future kernels above 5.0.0.
You may override by specifying --force.

mac80211.ko:
Running module version sanity check.

Module has been obsoleted due to being included
in kernel 5.0.0.  We will avoid installing
for future kernels above 5.0.0.
You may override by specifying --force.

cfg80211.ko:
Running module version sanity check.

Module has been obsoleted due to being included
in kernel 5.0.0.  We will avoid installing
for future kernels above 5.0.0.
You may override by specifying --force.

depmod...

DKMS: install completed.
   ...done.
Setting up linux-headers-generic-hwe-18.04 (5.4.0.48.52~18.04.42) ...
Setting up linux-image-5.4.0-48-generic (5.4.0-48.52~18.04.1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-5.4.0-47-generic
I: /initrd.img.old is now a symlink to boot/initrd.img-5.4.0-47-generic
I: /vmlinuz is now a symlink to boot/vmlinuz-5.4.0-48-generic
I: /initrd.img is now a symlink to boot/initrd.img-5.4.0-48-generic
Setting up linux-modules-extra-5.4.0-48-generic (5.4.0-48.52~18.04.1) ...
Setting up linux-image-generic-hwe-18.04 (5.4.0.48.52~18.04.42) ...
Setting up linux-generic-hwe-18.04 (5.4.0.48.52~18.04.42) ...
Setting up aptdaemon (1.1.1+bzr982-0ubuntu19.4) ...
Setting up python3-aptdaemon (1.1.1+bzr982-0ubuntu19.4) ...
Setting up python3-aptdaemon.gtk3widgets (1.1.1+bzr982-0ubuntu19.4) ...
Processing triggers for initramfs-tools (0.130ubuntu3.10) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-47-generic
I: The initramfs will attempt to resume from /dev/sda8
I: (UUID=46de3fd8-221d-4634-9270-b35aaa8633ed)
I: Set the RESUME variable to override this.
Processing triggers for libc-bin (2.27-3ubuntu1.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for dbus (1.12.2-1ubuntu1.2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for linux-image-5.4.0-48-generic (5.4.0-48.52~18.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.4.0-48-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-48-generic
I: The initramfs will attempt to resume from /dev/sda8
I: (UUID=46de3fd8-221d-4634-9270-b35aaa8633ed)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_peppermint.cfg'
Generating grub configuration file ...
Found background image: grub-background.png
Found linux image: /boot/vmlinuz-5.4.0-48-generic
Found initrd image: /boot/initrd.img-5.4.0-48-generic
Found linux image: /boot/vmlinuz-5.4.0-47-generic
Found initrd image: /boot/initrd.img-5.4.0-47-generic
Found linux image: /boot/vmlinuz-5.4.0-45-generic
Found initrd image: /boot/initrd.img-5.4.0-45-generic
Found linux image: /boot/vmlinuz-5.4.0-42-generic
Found initrd image: /boot/initrd.img-5.4.0-42-generic
Found linux image: /boot/vmlinuz-5.0.0-37-generic
Found initrd image: /boot/initrd.img-5.0.0-37-generic
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Found Peppermint 7 Seven (7) on /dev/sda6
Found Linux Mint 7 Gloria - Main Edition (7) on /dev/sdb6
Adding boot menu entry for EFI firmware configuration
done


I'll reboot after I post this, and we'll see how it goes...
28
Software & Applications / Re: sudo apt-get upgrade triggers syntax error
« Last post by rkkc on September 25, 2020, 05:02:35 pm »
I did check that out last night, just made the change now again and the same error came up except now it has a space.   :(

Code: [Select]
  File "/usr/lib/linuxmint/mintSystem/mint-adjust.py", line 173
    except Exception, detail:
                    ^
SyntaxError: invalid syntax
dpkg: error processing package peppermint-system (--configure):
 installed peppermint-system package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 peppermint-system
E: Sub-process /usr/bin/dpkg returned an error code (1)
29
Software & Applications / Re: Permission denied
« Last post by murraymint on September 25, 2020, 02:32:36 pm »
Make sure Data isn't mounted with noexec parameter and that the whole path (every folder) of ?/Data/bin/lib is marked as executable.
30
Software & Applications / Permission denied
« Last post by straybit on September 25, 2020, 10:08:29 am »
This is the second program that I've compiled and get this error
Code: [Select]
bruce@Compaq ~/Data/bin/lib $ gcc -Wall -L. -oLibTest LibTest.c -lbrlib
bruce@Compaq ~/Data/bin/lib $ ./LibTest
bash: ./LibTest: Permission denied
bruce@Compaq ~/Data/bin/lib $ ls -l
total 40
-rw-rw-r-- 1 bruce bruce 15864 Sep 24 15:05 libbrlib.a
-rwxrwxr-x 1 bruce bruce 13224 Sep 25 10:41 LibTest
-rw-rw-r-- 1 bruce bruce   801 Sep 25 10:36 LibTest.c
drwxr-xr-x 2 bruce bruce  4096 Sep 25 10:09 src
Here is inxi
Spoiler (click here to view / hide)
[close]
just read another message.  I don't know if this is wanted but
Code: [Select]
bruce@Compaq ~/Data $ uname -a
Linux Compaq 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Any suggestion?
Bruce
Pages: 1 2 [3] 4 5 ... 10