Giter Club home page Giter Club logo

mintsystem's People

Contributors

clefebvre avatar darealshinji avatar dralley avatar fbuihuu avatar glebihan avatar gm10 avatar jtsagata avatar kelebek333 avatar mcmodknower avatar michaeltunnell avatar monsta avatar mostthingsweb avatar mrg0029 avatar mtwebster avatar nardholio avatar nikokrause avatar sethosii avatar smurphos avatar terminalforlife avatar tibladar avatar tpraxl avatar tsharitt avatar two-dogs avatar vlad0337187 avatar yotabits avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mintsystem's Issues

apt install && apt dist-upgrade fail when run by cron in a script in cron.hourly

Hi,

Make an executable script owned by root and drop it in /etc/cron.hourly.

#!/bin/sh
apt update && apt dist-upgrade -y

It fails when run by the system crontab with 17 * * * * root cd / && run-parts --report /etc/cron.hourly
However running it manually via sudo run-parts --report /etc/cron.hourly from the terminal works fine.
Also running apt update && apt dist-upgrade -y from a root crontab set up with sudo crontab -e works fine.

Why the difference? Does the script fail to identify the user as root when run by the system crontab?

Behaviour observed on Mint 18.3

PPA error

When I tring to add a ppa I get the following error message Linux mint 18.1:

sudo add-apt-repository ppa:nilarimogard/webupd8
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1547, in
codename = config_parser.get("general", "base_codename")
File "/usr/lib/python2.7/ConfigParser.py", line 330, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'general'

Mint apt handling of apt-mark auto/manual

mintsystem: 8.3.9

/usr/local/bin/apt currently passes the deprecated markauto command through to apt-mark but not the auto command that has replaced it. This seems incongruous. The general handling of auto and manual results in the following situation:

auto: apt-mark accepts
markauto: apt mark accepts but deprecated; Mint apt accepts
manual: apt-mark accepts
unmarkauto: apt-mark accepts but deprecated
markmanual: Mint apt accepts

It would probably be useful to add aliases so that all of these are passed through.

_usr_bin_mate-settings-daemon.1000.crash

Linux Mint 19.1 MATE. System is up to date.

===================================================================
GDB Log

warning: core file may not match specified executable file.
[New LWP 1540]
[New LWP 1541]
[New LWP 1542]
[New LWP 1543]
[New LWP 1686]
[New LWP 1736]
[New LWP 1551]
[New LWP 1737]
[New LWP 1738]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/mate-settings-daemon'.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7f1ce507da80 (LWP 1540))]

===================================================================
GDB Backtrace

warning: core file may not match specified executable file.
[New LWP 1540]
[New LWP 1541]
[New LWP 1542]
[New LWP 1543]
[New LWP 1686]
[New LWP 1736]
[New LWP 1551]
[New LWP 1737]
[New LWP 1738]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/mate-settings-daemon'.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7f1ce507da80 (LWP 1540))]
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007f1ce2bee801 in __GI_abort () at abort.c:79
#2 0x00007f1ce3231335 in g_assertion_message () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f1ce323139a in g_assertion_message_expr () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007f1cbffffa21 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0
#5 0x00007f1ccbb734e5 in pa_pstream_unlink () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#6 0x00007f1ccbdbe095 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#7 0x00007f1ccbdbe8a0 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#8 0x00007f1ccbdc01e5 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#9 0x00007f1ccbdc16da in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#10 0x00007f1ccbb6dc61 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#11 0x00007f1cbffffec8 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0
#12 0x00007f1ce320a417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007f1ce320a650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007f1ce320a962 in g_main_loop_run () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f1ce3effa25 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#16 0x0000558be84befff in main ()

===================================================================
GDB Backtrace (all threads)

warning: core file may not match specified executable file.
[New LWP 1540]
[New LWP 1541]
[New LWP 1542]
[New LWP 1543]
[New LWP 1686]
[New LWP 1736]
[New LWP 1551]
[New LWP 1737]
[New LWP 1738]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/mate-settings-daemon'.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7f1ce507da80 (LWP 1540))]

Thread 9 (Thread 0x7f1cb86d2700 (LWP 1738)):
#0 0x00007f1ce2cc2bf9 in __GI___poll (fds=0x7f1cb86d1ad0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret =
#1 0x00007f1cbf9237c4 in snd_mixer_wait () from /usr/lib/x86_64-linux-gnu/libasound.so.2
No symbol table info available.
#2 0x00007f1cbfbecfca in ?? () from /usr/lib/x86_64-linux-gnu/libmatemixer/libmatemixer-alsa.so
No symbol table info available.
#3 0x00007f1ce3232195 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f1ce2fa66db in start_thread (arg=0x7f1cb86d2700) at pthread_create.c:463
pd = 0x7f1cb86d2700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139761329972992, -1026562045266917821, 139761329970304, 0, 139761792610000, 140720485833744, 1151122257049257539, 1151002543060649539}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call =
#5 0x00007f1ce2ccf88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 8 (Thread 0x7f1cb96d4700 (LWP 1737)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
No locals.
#1 0x00007f1ce325077f in g_cond_wait () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f1cbfbed00d in ?? () from /usr/lib/x86_64-linux-gnu/libmatemixer/libmatemixer-alsa.so
No symbol table info available.
#3 0x00007f1ce3232195 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f1ce2fa66db in start_thread (arg=0x7f1cb96d4700) at pthread_create.c:463
pd = 0x7f1cb96d4700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139761346758400, -1026562045266917821, 139761346755712, 0, 94059419329696, 140720485833744, 1151120059099743811, 1151002543060649539}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call =
#5 0x00007f1ce2ccf88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 7 (Thread 0x7f1cca4c8700 (LWP 1551)):
#0 0x00007f1ce2cc2bf9 in __GI___poll (fds=0x558bea1bc0b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret =
#1 0x00007f1ce320a5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f1ce320a6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f1ce112a82d in ?? () from /usr/lib/x86_64-linux-gnu/libdconf.so.1
No symbol table info available.
#4 0x00007f1ce3232195 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f1ce2fa66db in start_thread (arg=0x7f1cca4c8700) at pthread_create.c:463
pd = 0x7f1cca4c8700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139761629824768, -1026562045266917821, 139761629822080, 0, 94059416719520, 140720485836944, 1151091757412746819, 1151002543060649539}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call =
#6 0x00007f1ce2ccf88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 6 (Thread 0x7f1cb9ed5700 (LWP 1736)):
#0 0x00007f1ce2cc2bf9 in __GI___poll (fds=0x7f1c94001b30, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret =
#1 0x00007f1ccbde2481 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#2 0x00007f1ccbdd3e40 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#3 0x00007f1ccbdd44d0 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#4 0x00007f1ccbdd4560 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#5 0x00007f1ccbde23c9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#6 0x00007f1ccbb84318 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
No symbol table info available.
#7 0x00007f1ce2fa66db in start_thread (arg=0x7f1cb9ed5700) at pthread_create.c:463
pd = 0x7f1cb9ed5700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139761355151104, -1026562045266917821, 139761355148416, 0, 94059419056976, 140720485824944, 1151118961198728771, 1151002543060649539}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call =
#8 0x00007f1ce2ccf88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 5 (Thread 0x7f1cb6ecf700 (LWP 1686)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
No locals.
#1 0x00007f1ce325089a in g_cond_wait_until () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f1ce31dd571 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f1ce31ddb2c in g_async_queue_timeout_pop () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f1ce3232c3e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f1ce3232195 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#6 0x00007f1ce2fa66db in start_thread (arg=0x7f1cb6ecf700) at pthread_create.c:463
pd = 0x7f1cb6ecf700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139761304794880, -1026562045266917821, 139761304792192, 0, 94059417270592, 140720485836944, 1151099183948072515, 1151002543060649539}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call =
#7 0x00007f1ce2ccf88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 4 (Thread 0x7f1cd9033700 (LWP 1543)):
#0 0x00007f1ce2cc2bf9 in __GI___poll (fds=0x7f1cd401d590, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret =
#1 0x00007f1ce320a5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f1ce320a962 in g_main_loop_run () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f1ce37f80e6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#4 0x00007f1ce3232195 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f1ce2fa66db in start_thread (arg=0x7f1cd9033700) at pthread_create.c:463
pd = 0x7f1cd9033700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139761876678400, -1026562045266917821, 139761876675712, 0, 94059415743264, 139761893460096, 1151049330115184195, 1151002543060649539}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call =
#6 0x00007f1ce2ccf88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 3 (Thread 0x7f1cd9834700 (LWP 1542)):
#0 0x00007f1ce2cc2bf9 in __GI___poll (fds=0x7f1cd4007ce0, nfds=2, timeout=2662) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret =
#1 0x00007f1ce320a5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f1ce320a6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f1ce320a721 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f1ce3232195 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f1ce2fa66db in start_thread (arg=0x7f1cd9834700) at pthread_create.c:463
pd = 0x7f1cd9834700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139761885071104, -1026562045266917821, 139761885068416, 0, 94059415743104, 139761893459712, 1151048230066685507, 1151002543060649539}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call =
#6 0x00007f1ce2ccf88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 2 (Thread 0x7f1cda035700 (LWP 1541)):
#0 0x00007f1ce2cc2bf9 in __GI___poll (fds=0x558bea109de0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret =
#1 0x00007f1ce320a5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f1ce320a6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f1cda03d36d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
No symbol table info available.
#4 0x00007f1ce3232195 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f1ce2fa66db in start_thread (arg=0x7f1cda035700) at pthread_create.c:463
pd = 0x7f1cda035700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139761893463808, -1026562045266917821, 139761893461120, 0, 94059415740736, 140720485836416, 1151055928258692675, 1151002543060649539}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call =
#6 0x00007f1ce2ccf88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 1 (Thread 0x7f1ce507da80 (LWP 1540)):
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
set = {__val = {0, 94059417815425, 94059417815444, 94059417815344, 94059417815444, 0, 2064, 124, 139761457038641, 140720485836896, 139762043821120, 139762040317912, 566935683072, 2048, 343597383680, 7}}
pid =
tid =
ret =
#1 0x00007f1ce2bee801 in __GI_abort () at abort.c:79
save_stage = 1
act = {__sigaction_handler = {sa_handler = 0xfefefeff, sa_sigaction = 0xfefefeff}, sa_mask = {__val = {94059417816592, 0, 140720485836896, 140720308486145, 8863086342219767808, 72057594037927936, 16777216, 5548434740920451072, 139759930310656, 94059417816592, 0, 0, 8863086342219767808, 139761457038641, 94059417816592, 78}}, sa_flags = -481477152, sa_restorer = 0x7ffc0a922860}
sigs = {__val = {32, 0 <repeats 15 times>}}
__cnt =
__set =
__cnt =
__set =
#2 0x00007f1ce3231335 in g_assertion_message () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f1ce323139a in g_assertion_message_expr () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f1cbffffa21 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0
No symbol table info available.
#5 0x00007f1ccbb734e5 in pa_pstream_unlink () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
No symbol table info available.
#6 0x00007f1ccbdbe095 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#7 0x00007f1ccbdbe8a0 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#8 0x00007f1ccbdc01e5 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#9 0x00007f1ccbdc16da in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#10 0x00007f1ccbb6dc61 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
No symbol table info available.
#11 0x00007f1cbffffec8 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0
No symbol table info available.
#12 0x00007f1ce320a417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#13 0x00007f1ce320a650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#14 0x00007f1ce320a962 in g_main_loop_run () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#15 0x00007f1ce3effa25 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#16 0x0000558be84befff in main ()
No symbol table info available.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007f1ce2bee801 in __GI_abort () at abort.c:79
#2 0x00007f1ce3231335 in g_assertion_message () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f1ce323139a in g_assertion_message_expr () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007f1cbffffa21 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0
#5 0x00007f1ccbb734e5 in pa_pstream_unlink () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#6 0x00007f1ccbdbe095 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#7 0x00007f1ccbdbe8a0 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#8 0x00007f1ccbdc01e5 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#9 0x00007f1ccbdc16da in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#10 0x00007f1ccbb6dc61 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#11 0x00007f1cbffffec8 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0
#12 0x00007f1ce320a417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007f1ce320a650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007f1ce320a962 in g_main_loop_run () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f1ce3effa25 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#16 0x0000558be84befff in main ()

minsystem apt-update fails with "invalid syntax" when python set to python3

Due to other packages requiring python3 to be the default python, I changed /usr/bin/python to point to python3.

Error goes away when I set python to point to python2.

Preparing to unpack .../skypeforlinux_5.2.0.1_amd64.deb ...
Unpacking skypeforlinux (5.2.0.1) over (5.1.0.1) ...
Processing triggers for mintsystem (7.9.3+1) ...
File "/usr/lib/linuxmint/mintSystem/mint-adjust.py", line 128
except Exception, detail:
^
SyntaxError: invalid syntax
dpkg: error processing package mintsystem (--unpack):
subprocess installed post-installation script returned error exit status 1
Processing triggers for mime-support (3.54ubuntu1.1) ...

Headache! Mint THINKS I have UEFI, but I don't -- Misery ensues!

mark@mark-Lenovo-V570 ~ $ ls /sys/firmware
acpi  dmi  efi  memmap
mark@mark-Lenovo-V570 ~ $ df -h --local | grep /boot
/dev/sda2                  473M   61M  389M  14% /boot
/dev/sda1                  511M  3.6M  508M   1% /boot/efi
mark@mark-Lenovo-V570 ~ $ efibootmgr
BootCurrent: 000A
Timeout: 1 seconds
BootOrder: 000A,0005,0006,0007,0004,0009,0008,0003,0002
Boot0000  Setup
Boot0001  Boot Menu
Boot0002* USB FDD:
Boot0003* ATA SSD:
Boot0004* ATA HDD: TOSHIBA MQ01ABD100                     
Boot0005* ATAPI CD: HL-DT-ST BDDVDRW CP40NG10               
Boot0006* USB HDD:
Boot0007* USB CD:
Boot0008* PCI LAN: Realtek PXE B03 D00
Boot0009* Windows Boot Manager
Boot000A* ubuntu
mark@mark-Lenovo-V570 ~ $ 

My BIOS settings are as follows:

1 Information
1-1 Product Name = Lenovo V570
1-2 BIOS Version = 44CN43WW
1-3 KBC Version = 44EC29WW
1-4 Lenovl SN = WB02836788
1-5 UUID Number = 29E7DDC0-CB7A-11E0-80EC-B2DBD19D08CE
1-6 CPU = Intel Core i5-2430M CPU @ 2.40GHz
1-7 System Memory = 6144 MB
1-8 Hard disk = TOSHIBA MQ01AB - 1000 GB
1-9 ODD = HL-DT-ST BDDVD - ATAPI
2 Configuration
2-1 System Time
2-2 System Date
2-3 USB Legacy = [Disabled]
2-4 Wireless = [Enabled]
2-5 SATA Controller working mode = [AHCI]
2-6 Power Beep = [Disabled]
2-7 Intel Virtual Technology = [Enabled]
3 Security
3-1 Set Supervisor Password
3-2 Set Hard Disk Password
4 Boot
4-1 Boot Priority Order
4-1-1 ubuntu
4-1-2 ATAPI CD = HL-DT-ST BDDVDRW CP40NG10
4-1-3 USB HDD
4-1-4 USB CD
4-1-5 ATA HDD = TOSHIBA MQ01ABD100
4-1-6 Windows Boot Manager
4-1-7 PCI LAN = Realtek PXE B03 D00
4-1-8 ATA SSD
4-1-9 USB FDD

Consequences:
Partition #2 ('/dev/sda2') is unclean (and of course it cannot be fixed while it is mounted).
USB live Mint from ISO via 'mintstick' will not boot.
USB live Mint from ISO via 'unetbootin' does not even appear in boot device list when I boot using F12.
So, I can't rely on the system, and I can't boot a USB live Mint in order to fix partition #2 (while it is unmounted).
Before I shoot myself, I thought I'd stop by here to see if anyone can save my life. Thanks!

apt argument order

One of the error messages from binary apt:

E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

That command works fine with binary apt, but it won't work on Mint because the apt script currently cannot handle the reversed argument order, it is hardcoded to look for the command only in the first argument:

https://github.com/linuxmint/mintsystem/blob/master/usr/local/bin/apt#L80

Suggest to instead check all arguments for a known command, use the rest as options.

Don't modify /etc/lsb-release it can breaks packages

Modifying /etc/lsb-release is a bad idea, as we are using packages from ubuntu, some package maintainers uses /etc/lsb-release instead of /etc/os-release to detect version and take decisions.

Therefore modifying it could lead to unpredictable results.

For instance libvirt package:

ifeq ($(shell dpkg --compare-versions "$(shell grep DISTRIB_RELEASE /etc/lsb-release | cut -d= -f2)" ge "14.04" && echo "yes"),yes)
    APPARMOR_REQ = -V'dist:Conflicts=apparmor (<< 2.8.95~2430-0ubuntu4)'
endif
ifeq ($(shell dpkg --compare-versions "$(shell grep DISTRIB_RELEASE /etc/lsb-release | cut -d= -f2)" ge "14.10" && echo "yes"),yes)
    APPARMOR_REQ = -V'dist:Conflicts=apparmor (<< 2.8.96~2652-0ubuntu1)'
endif

live usb /dev/video0 present. when I install mint onto hdd /dev/video0 not present

 * Cinnamon version 3.6.6
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...)
 * Sony Vaio VGN-FZ430E
 * 64 bit

Issue
/dev/video0 is not present. Its the laptops webcam

Steps to reproduce
Install mint os from live usb stick, restart, /dev/video0 not there.
Start mint os from live usb stick, /dev/video0 is there and camera works.

Expected behaviour
For /dev/video0 to be there for the installed mint os

Other information

CTRL+ALT+SHIFT combination don't work in Linux Mint 19

I have two computers: the first one is laptop which previously had Linux Mint 18.3 and I upgraded it to Linux Mint 19. The second has fresh Linux Mint 19 install.

The problem is with ALT key in combination "CTRL+ALT+SHIFT". It seems that Linux Mint 19 doesn't recognize ALT key in this combination, even though in Linux Mint 18.3 it used to work perfectly. Some examples: in Linux Mint 19 combination CTRL+ALT+T works fine (opens Terminal), CTRL+ALT+LEFT ARROW (or RIGHT ARROW) works fine (changes workspace), ALT+F4 works fine (closes active window). But combination CTRL+ALT+SHIFT+LEFT ARROW (or RIGHT ARROW) should move active window to another workspace, but it doesn't even though in system there is set a shortcut for that.

I tested it with Intellij which has the ability to check what key combination is pressed. And when I press CTRL+ALT+SHIFT combination, Intellij recognizes it as CTRL+SHIFT without ALT. It also happens when in Linux Mint 19 system settings for shortcuts I try to change any shortcut combination. For example: Keyboard -> Shortcuts -> Windows -> Inter-workspace there is and option to set shortcut for "Move window to workspace 1". If I try to set a shortcut for this action as CTRL+ALT+SHIFT+Num Pad 1, newly assigned shortcut is CTRL+ALT+1. When I try to change shortcut for "Move window to right workspace" and press CTRL+ALT+SHIFT+RIGHT ARROW, newly set shortcut is set as CTRL+SHIFT+RIGHT ARROW.

So basically combination of CTRL+ALT+SHIFT is no longer possible in Linux Mint 19.

Turn /usr/local/bin/apt into a wrapper for /usr/bin/apt

/usr/local/bin/apt currently overrides /usr/bin/apt, the system package provided by Debian/Ubuntu. This is not a problem, per-se, except that it does not behave the same as the system package which can cause confusion when people are looking online for help, or when they expect it to behave as Debian/Ubuntu's "apt" does.

/usr/local/bin/apt should be updated to provide a strict superset of the functionality of the system "apt" by wrapping the commands it provides. This will make Mint's "apt" behavior consistent with that of Debian and Ubuntu where the two overlap.

/usr/local/bin/highlight makes /usr/bin/highlight unusable

Mint version:

Linux Mint 18.3 'Sylvia'

Problem:

The program highlight of the package highlight is not usable when ommitting the path.

The path of /usr/local/bin/highlight (mintsystem highlight) has precedence over /usr/bin/highlight (highlight package) if you simply invoke highlight. This affects at least the filemanager ranger, whose scope.sh uses highlight without specifying a path.

How to reproduce

Highlight itself

Install highlight and try to use it:

$ sudo apt-get install highlight
$ # The following command will hang, because it represents the mintsystem highlight script, which waits for input
$ highlight --syntax=bash --out-format=ansi /usr/local/bin/highlight
$ # will not hang, because it represents the original program
$ /usr/bin/highlight --syntax=bash --out-format=ansi /usr/local/bin/highlight

Ranger

$ sudo apt-get install ranger highlight
$ # create basic ~/.config/ranger files
$ # notice that simple text files are previewed in the 3rd column
$ ranger 
$ # copy /etc/ranger/ configuration files (includes scope.sh) to ~/.config/ranger/
$ ranger --copy-config=all
$ # the following call will no longer preview simple text files
$ ranger

Affected packages:

  • highlight
  • ranger

The filemanager ranger will fail to preview text files after the recommended ranger --copy-config=all or ranger --copy-config=scope (as soon as ~/.config/ranger/scope.sh exists, which is configured to be used for previews in /etc/ranger/config/rc.conf resp. ~/.config/ranger/rc.conf.

Temporary workaround for ranger

$ # will replace the wrapped highlight command with /usr/bin/highlight in the scope script
$ sed -i 's/command highlight/command \/usr\/bin\/highlight/' ~/.config/ranger/scope.sh

Proposal for clean solution:

Rename /usr/local/bin/highlight to /usr/local/bin/highlight-mint.

[Edit] replaced wrong path /usr/local/ with /usr/local/bin/

apt doesn't remove packages, which he installed

Hello to all.

Problem: sometimes after removing some program, some of it's dependencies are left in system and you can't find them.

This is not problem, that I noticed recent, it pent me over years.
Started when I installed some program with QT as dependency, I removed that program, but some of dependencies were left. I sweared some time and tried to remove them all manually (searching them in logs, etc).
Time went and sometimes I met with such "bugs". Then I got used to avoid such situations with user-tags from aptitude, but this spent many time, I always forgot needed commands, in short, it was boring work.
Today I met with it again in #linuxmint-ru channel, they told me about this error again.
I'm sure, the time came to correct this behavior, it hurts to all.

Example: when we install package "rpm" (apt install rpm (mint's apt uses "/usr/bin/apt" for this)),:

  • it gives 7 packages as dependencies:
    debugedit librpm3 librpmbuild3 librpmio3 librpmsign3 rpm-common rpm2cpio,
  • suggests to install also 5 packages:
    rpm-i18n alien elfutils rpmlint rpm2html,
  • but there will be installed 8 packages (including "rpm"):
    debugedit librpm3 librpmbuild3 librpmio3 librpmsign3 rpm rpm-common rpm2cpio

Well, we used this package near half of year, it became not needed to us. What was installed with it we don't remember, logs were removed. Let's remove it: apt purge rpm:

  • packages, that will be removed: rpm*
  • packages, that were installed automatically and are not needed: debugedit librpmbuild3 librpmsign3
    (to remove them use sudo apt autoremove) (ontly 3 of 7 are not needed any more)
  • so 4 packages (librpm3, librpmio3 rpm-common rpm2cpio) were lost.

Let's figurte it out why.
All 7 dependency packages were marked as automatically installed, only "rmp" was marked as manually installed.

Let's try aptitude (sudo aptitude purge rpm):

  • next packages will be removed: debugedit{u} librpm3{u} librpmbuild3{u} librpmio3{u} librpmsign3{u} rpm{p} rpm-common{u} rpm2cpio{u}
    We see, that all 8 packages, that were installed, were removed.

So aptitude has not his bug. Also I heared that there are many dependency types in apt, like:
"depends", "depends, but not very much", "recommends", "recommends, but not very much".
But I had not found such information on Wiki.
Maybe apt has such strange gradations and that's why it has such bug?

In package itself (in "control.tar.gz/control" file) all that packages (that were installed with "rpm") were in "dependencies" section:
Depends: libc6 (>= 2.17), libelf1 (>= 0.131), libpopt0 (>= 1.14), librpm3 (>= 4.12.0.1), librpmbuild3 (>= 4.10.0), librpmio3 (>= 4.10.0), librpmsign3 (>= 4.12.0.1), perl, rpm2cpio, debugedit (= 4.12.0.1+dfsg1-3build3), rpm-common (= 4.12.0.1+dfsg1-3build3)
Also there were not any "magic" sections like "not very depends", only "depends", "suggests", "breaks", "replaces"; in our case are figuring first two.

My suggestion: #62 (comment)

Remove files from /usr/local/bin to /usr/bin

Debian packages shouldn't install files directly into the /usr/local prefix. Just move the scripts to /usr/bin, as long as they don't conflict with other packages. If they do, like in case of apt, move them to /usr/lib/linuxmint/mintSystem/ and install shortcuts in /usr/local/bin with a maintainer script.

edit:

The commands highlight and search are provided in the packages highlight and sphinxsearch. Should they really be overridden with the commands in the mintsystem package?

And maybe /usr/bin/xchat-systray should be removed since xchat isn't pre-installed on Mint anymore.

Remove cowsay dependency, if possible

I don't understand why mintsystem depends on the package cowsay...

For an experiment on the APT lock file,I needed a package to remove and install. I usually use cowsay because it seems so unimportant. However, it removed a bunch of system packages, too.

Using APT's log file, I managed to reinstall those packages, but I don't understand why this needed to happen. Is there any good reason for mintsystem depending on cowsay? If not, please remove it.


APT log:

Start-Date: 2014-12-31  13:09:49
Commandline: apt-get remove cowsay
Remove: mint-artwork-gnome:amd64 (2.6.36), mint-meta-cinnamon:amd64 (2014.12.09), mint-meta-core:amd64 (2014.12.09), cowsay:amd64 (3.03+dfsg1-6), mint-artwork-common:amd64 (1.8.4), mintsystem:amd64 (7.9.7), ubuntu-system-adjustments:amd64 (2014.11.19)
End-Date: 2014-12-31  13:10:13

PS: Also mint-meta-core depends on cowsay separately, additionally to mintsystem.

Missing activity status (hang during boot?)

Missing activity status (hang during boot?)

The boot process appears to hang with no status to the user.

After reading this:

'http://askubuntu.com/questions/435066/how-to-skip-boot-time-fsck-check-preferably-by-editing-grub-menu-entry'
"...the default should be to check once every 30 boots." – terdonhttp://askubuntu.com/users/85695/terdon Mar 19 '14 at 0:29

I believe the situation may be that an extended file system check is in progress...

But the user is not informed of it <-- This is a design flaw that should be fixed.

Impact: I have been turning my system off, then back on and taking the default boot option in grub. I understand now that doing so is not wise. But what choice do I have when the boot appears to hang?

mint-apt-recommends.py bug and suggestion

apt recommends produces nonsensical output.

Example

(with debug output enabled, missing packages are marked [MISSING]):

$ apt recommends mpv
  mpv 
   youtube-dl [MISSING]
    python3-pkg-resources 
   libarchive13 
    libacl1 
     libattr1 
      libc6 
       libgcc1 
        gcc-8-base 
    libbz2-1.0 
    liblz4-1 
    liblzma5 
    liblzo2-2 
     multiarch-support 
    libnettle6 
    libxml2 
     libicu60 
      libstdc++6 
     zlib1g 
   libasound2 
    libasound2-data 
   libass9 
    libfontconfig1 
     libexpat1 
     libfreetype6 
      libpng16-16 
     fontconfig-config 
      ucf 
       debconf 
        perl-base 
         dpkg 
          libselinux1 
           libpcre3 
          libzstd1 
          tar 
       coreutils 
       sensible-utils 
      fonts-dejavu-core 
      fonts-liberation 
    libfribidi0 
    libharfbuzz0b 
     libglib2.0-0 
      libffi6 
      libmount1 
       libblkid1 
        libuuid1 
     libgraphite2-3 
   libavcodec58 
    libswresample3 
     libavutil56 
      libdrm2 
       libdrm-common 
      libva-drm2 
       libva2 
      libva-x11-2 
       libx11-6 
        libxcb1 
         libxau6 
         libxdmcp6 
          libbsd0 
        libx11-data 
       libxext6 
       libxfixes3 
      libvdpau1 
     libsoxr0 
      libgomp1 
    libcairo2 
     libpixman-1-0 
     libxcb-render0 
     libxcb-shm0 
     libxrender1 
    libcodec2-0.8.1 
    libcrystalhd3 
    libgsm1 
    libmp3lame0 
    libopenjp2-7 
    libopus0 
    librsvg2-2 
     libcroco3 
     libgdk-pixbuf2.0-0 
      libjpeg8 
       libjpeg-turbo8 
      libtiff5 
       libjbig0 
      shared-mime-info 
      libgdk-pixbuf2.0-common 
     libpango-1.0-0 
      fontconfig 
      libthai0 
       libthai-data 
       libdatrie1 
     libpangocairo-1.0-0 
      libpangoft2-1.0-0 
    libshine3 
    libsnappy1v5 
    libspeex1 
    libtheora0 
     libogg0 
    libtwolame0 
    libvorbis0a 
    libvorbisenc2 
    libvpx5 
    libwavpack1 
    libwebp6 
    libwebpmux3 
    libx264-152 
    libx265-160 
     libnuma1 
    libxvidcore4 
    libzvbi0 
     libzvbi-common 
   libavdevice58 
    libavfilter7 
     libavformat58 
      libbluray2 
       libaacs0 [MISSING]
        libgcrypt20 
         libgpg-error0 
      libchromaprint1 
       libavcodec-extra57 
        libavutil55 
        libopencore-amrnb0 
        libopencore-amrwb0 
        libswresample2 
        libvo-amrwbenc0 
        libx265-146 
      libgme0 
      libgnutls30 
       libgmp10 
       libhogweed4 
       libidn2-0 
        libunistring2 
       libp11-kit0 
       libtasn1-6 
      libopenmpt0 
       libmpg123-0 
       libvorbisfile3 
      libssh-gcrypt-4 
       libgssapi-krb5-2 
        libk5crypto3 
         libkrb5support0 
        libkrb5-3 
         libkeyutils1 
     libpostproc55 
     libswscale5 
     libbs2b0 
     libflite1 
     liblilv-0-0 
      libserd-0-0 
      libsord-0-0 
      libsratom-0-0 
     libmysofa0 
     libopencv-core3.2 
      libtbb2 
     libopencv-imgproc3.2 
     librubberband2 
      libfftw3-double3 
      libsamplerate0 
     libzmq5 
      libnorm1 
      libpgm-5.2-0 
      libsodium23 
    libavc1394-0 
     libraw1394-11 
    libcaca0 
     libncursesw5 
      libtinfo5 
     libslang2 
    libcdio-cdda2 
     libcdio17 
    libcdio-paranoia2 
    libdc1394-22 
     libusb-1.0-0 
      libudev1 
    libgl1 
     libglvnd0 
     libglx0 
      libglx-mesa0 
       libglapi-mesa 
       libx11-xcb1 
       libxcb-dri2-0 
       libxcb-dri3-0 
       libxcb-glx0 
       libxcb-present0 
       libxcb-sync1 
       libxdamage1 
       libxshmfence1 
       libxxf86vm1 
       libgl1-mesa-dri 
        libdrm-amdgpu1 
        libdrm-intel1 
         libpciaccess0 
        libdrm-nouveau2 
        libdrm-radeon1 
        libelf1 
        libllvm6.0 
         libedit2 
        libsensors4 
    libiec61883-0 
    libjack-jackd2-0 
    libopenal1 
     libopenal-data 
     libsndio6.1 
    libpulse0 
     libasyncns0 
     libdbus-1-3 
      libsystemd0 
     libsndfile1 
      libflac8 
     libwrap0 
    libsdl2-2.0-0 
     libwayland-client0 
     libwayland-cursor0 
     libwayland-egl1 
     libxcursor1 
     libxi6 
     libxinerama1 
     libxkbcommon0 
      xkb-data 
     libxrandr2 
     libxss1 
      x11-common 
       lsb-base 
    libsndio7.0 
    libxcb-shape0 
    libxcb-xfixes0 
    libxv1 
   libcdio18 
   libdvdnav4 
    libdvdread4 
   libegl1 
    libegl-mesa0 
     libgbm1 
      libwayland-server0 
   liblcms2-2 
   liblua5.2-0 
   libsmbclient 
    samba-libs 
     libavahi-client3 
      libavahi-common3 
       libavahi-common-data 
     libcap2 
     libcups2 
     libjansson4 
     libldap-2.4-2 
      libgssapi3-heimdal 
       libasn1-8-heimdal 
        libroken18-heimdal 
       libhcrypto4-heimdal 
        libheimbase1-heimdal 
       libheimntlm0-heimdal 
        libkrb5-26-heimdal 
         libhx509-5-heimdal 
          libwind0-heimdal 
         libsqlite3-0 
      libsasl2-2 
       libsasl2-modules-db 
        libdb5.3 
      libldap-common 
     libldb1 
      libtalloc2 
      libtdb1 
      libtevent0 
     libpam0g 
      libaudit1 
       libaudit-common 
       libcap-ng0 
     libpopt0 
     libpython2.7 
      libpython2.7-stdlib 
       libpython2.7-minimal 
       mime-support 
       libreadline7 
        readline-common 
         install-info 
       libssl1.1 
     libwbclient0 
     python-talloc 
   libuchardet0 
   libva-wayland2 
   libvulkan1 

The following missing recommended packages were found for mpv:

    libaacs0
    youtube-dl

You can install them by typing the following command:

    apt install libaacs0 youtube-dl

Problem:

Of those two, only youtube-dl is a missing direct recommend:

$ apt show mpv
[...]
Recommends: xdg-utils, youtube-dl (>= 2014.11.26

Direct recommends are the only thing I would want to see as the output of that command.

libaacs0 is a recommendation of the libbluray2 package far down the list. Other recommended packages in the tree are not listed, in particular recommended packages of recommended packages. There is no logic to this limitation. If you go recursive then go fully recursive.

Proposed solution:

Make default operation non-recursive:

$ apt recommends mpv

The following missing recommended packages were found for mpv:

    youtube-dl

You can install them by typing the following command:

    apt install youtube-dl

but add a --recursive parameter for a fully recursive output:

$ apt recommends mpv --recursive

The following missing recommended packages were found for mpv:

    aria2
    libaacs0
    libbdplus0
    mplayer
    phantomjs
    python3-pyxattr
    rtmpdump
    va-driver-all
    vdpau-driver-all
    youtube-dl

You can install them by typing the following command:

    apt install aria2 libaacs0 libbdplus0 mplayer phantomjs python3-pyxattr rtmpdump va-driver-all vdpau-driver-all youtube-dl

'update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults'

First: apologies if this is the wrong place, within Mint's bugtrackers, to report the bug; I found it non-obvious where I should report it.

Next: Debian rejected the bug report that follows, on the basis that Debian has fixed the bug and thus, if it it persists in Mint, it is Mint's fault.

The problem is as reported in my title and as reported in this three-year old (NB!) Debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718232

I have Mint 18.1 x64 Cinnamon.

Trash mystery...

I'm working on a Trash mystery and have encountered some bugs/flaws in Mint (or Gnome?).

It appears that Mint in general, and Nemo in particular may not conform with this:

The FreeDesktop.org Trash specification
Written by Mikhail Ramendik <[email protected]>
Content by David Faure <[email protected]>, Alexander Larsson <[email protected]> and others on the FreeDesktop.org mailing list
Version 0.7

or may be imposing a non-compliant and unpublished method regarding Trash.

Also, it appears that MInt does not conform with 'https://www.freedesktop.org/wiki/Specifications/basedir-spec/', regarding required environmental variables, to wit:

mark@mark-Lenovo-V570 ~ $ echo $XDG_DATA_DIRS
/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/
mark@mark-Lenovo-V570 ~ $ echo $XDG_CONFIG_DIRS
/etc/xdg/xdg-cinnamon:/etc/xdg
mark@mark-Lenovo-V570 ~ $ echo $XDG_DATA_HOME

mark@mark-Lenovo-V570 ~ $ echo $XDG_CACHE_HOME

mark@mark-Lenovo-V570 ~ $ echo $XDG_CONFIG_HOME

mark@mark-Lenovo-V570 ~ $

I've encountered these problems while working on the following Trash mystery.

Step #1: I ran this script:

#!/bin/bash

echo This is a test>~/.local/share/Trash/files/bash.txt;
(
echo [Trash Info];
echo Path=~/bash.txt;
echo DeletionDate=$(date "+%Y-%m-%d"T"%T")
)>~/.local/share/Trash/info/bash.txt.trashinfo

It successfully created an entity named 'bash.txt' in the Trash.

Step #2: I echoed "This is a test" to '~/nemo.txt', then deleted it via Nemo.

Step #3: I compared the 2 'trashinfo' files.

mark@mark-Lenovo-V570 ~/.local/share/Trash/info $ xxd bash.txt.trashinfo
00000000: 5b54 7261 7368 2049 6e66 6f5d 0a50 6174  [Trash Info].Pat
00000010: 683d 2f68 6f6d 652f 6d61 726b 2f62 6173  h=/home/mark/bas
00000020: 682e 7478 740a 4465 6c65 7469 6f6e 4461  h.txt.DeletionDa
00000030: 7465 3d32 3031 362d 3130 2d31 3254 3133  te=2016-10-12T13
00000040: 3a31 323a 3030 0a                        :12:00.
mark@mark-Lenovo-V570 ~/.local/share/Trash/info $ xxd nemo.txt.trashinfo
00000000: 5b54 7261 7368 2049 6e66 6f5d 0a50 6174  [Trash Info].Pat
00000010: 683d 2f68 6f6d 652f 6d61 726b 2f6e 656d  h=/home/mark/nem
00000020: 6f2e 7478 740a 4465 6c65 7469 6f6e 4461  o.txt.DeletionDa
00000030: 7465 3d32 3031 362d 3130 2d31 3254 3133  te=2016-10-12T13
00000040: 3a31 343a 3539 0a                        :14:59.

So far so good. But when I select the 2 files in the Trash utility and attempt to restore them (Restore Selected Items), 'nemo.txt' restores fine, but 'bash.txt' produces this error:

Could not determine original location of "bash.txt"
The item cannot be restored from trash

The properties and permissions of the 2 files are identical.

There must be something deficient about the 'bash.txt.trashinfo' file created by my script that prevents subsequently restoring 'bash.txt'.

What could it be?

Issues with "apt download".

$ apt download python3
......
71 packages can be upgraded. Run 'apt list --upgradable' to see them.
download: you must specify at least one package to download
xargs: aptitude: exited with status 255; aborting

Doesn't download because python3 is already installed. Uninstalled (and upgradable) packages download without issue.
Relevant code: (https://github.com/linuxmint/mintsystem/blob/master/usr/local/bin/apt#L112)

The help command isn't displayed either:

$ apt help download
Traceback (most recent call last):
  File "/usr/local/bin/apt", line 107, in <module>
    archive_name = argoptions.split()[0]
IndexError: list index out of range

Linux Mint 20: apt is not working with * symbol

Hi,

apt is not working with * symbol.

sudo apt purge nvidia-prime*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package nvidia-prime*

but apt-get is working.

sudo apt-get purge nvidia-prime*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'nvidia-prime' for glob 'nvidia-prime*'
Note, selecting 'nvidia-prime-applet' for glob 'nvidia-prime*'
The following packages will be REMOVED:
  nvidia-prime* nvidia-prime-applet*
0 upgraded, 0 newly installed, 2 to remove and 58 not upgraded.
After this operation, 104 kB disk space will be freed.
Do you want to continue? [Y/n]

mint-apt-download.py

This part doesn't work and hasn't in a while:

os.system("LC_ALL=C apt-get install --dry-run %s | grep ^Inst | awk {'print $2;'} | xargs aptitude download -r" % package.name)

aptitude download is a wrapper for apt, thus this calls apt -r download, which fails due to the bug in the apt script I reported here.
It would however fail regardless because the -r is no valid option for apt or apt-get.

Suggest to simply replace aptitude download -r with /usr/bin/apt download

Logitech wireless mouse no longer works under Mint 19

I'm filing this here because I don't know where else to file it, I am afraid.

After an in-place upgrade from Mint 18.3 to 19, my M720 Triathlon Multi-Device Mouse, connected via USB receiver, can't pair properly with my ThinkPad. Admittedly, under Mint 18.3 the pairing would struggle for a while after the USB receiver had been removed and reinserted, but, now (in Mint 19), the pairing won't establish - more than intermittently, for a few seconds at a time - at all. Still, the mouse's battery status does now (unlike in 18.3) appear in the Settings window.

I am using kernel 4.17.3-041703-generic, with so-called zero-day Linux firmware.

Cannot see if computer is using Caps-Lock

@clefebvre hope you see this.

With the latest Mint with a Enc.+LVM setup, during BIOS start up I can flip between uppercase and lowercase with my computer indicating them with a on/off light just fine.

But when I reach the screen where I have to type my enc. password when clicking the Caps Lock button the light does not appear so it doesn't indicate whether I am using uppercase or lowercase.

Only happens during this screen. Once I get past this screen to log into my Desktop, the Caps Lock indicator is working fine. Why is this?

Settings reset on upgrade to 19.2

The Flatpak (system) repo was automatically re-enabled on my system when I upgraded to 19.2 (from 19.1). Can you please give users to the option to leave their current configs alone? I always switch to the user repo, keeping / as pristine as possible.

Steam client from steam website not work out the box.

Hi
I know that i can install steam from software manager but i should can install steam from official website, normally, like on windows (It is important for new users).
I have laptop with Radeon HD 8550M. I have error on linux kernel 4.4.x and 4.8.x.

Running Steam on linuxmint 18.1 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

When i installed steam from software manager all was ok but why steam not work when i install official client from steam webiste?

Shell Command Injection in "apt" Python Script

Hello,

The python script provided, which is a helper/wrapper for "apt" commands, suffers from shell command injection. The script on a Linux Mint system is located here - /usr/local/bin/apt.

As seen here in the source - https://github.com/linuxmint/mintsystem/blob/master/usr/local/bin/apt, the Python script does not sanitize the user input at all, and therefore it is possible to inject shell commands via the user input.

An example of this,

$ apt install "vim && sudo bash"
Reading package lists... Done
Building dependency tree
Reading state information... Done
vim is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.

# id
uid=0(root) gid=0(root) groups=0(root)

In this case, when a user sends "vim && sudo bash" as input, the script also spawns a root shell because the script already uses sudo, if the user is not root.

This can be easily exploited by tricking someone into executing shell commands with root permissions. An attacker would just need to social engineer the victim into putting his desired input as a package name.

The bug can be fixed by either using subprocess or shlex module.

Regards,
c0dist @ Garage4Hackers.

[17.3 Rosa mintsystem 8.1.6+1] wrapper /usr/local/bin/apt missing list command

This is for Mint 17.3 Rosa, hopefully it can still be fixed: wrapper /usr/local/bin/apt is missing list command.

% dpkg -S /usr/local/bin/apt
mintsystem: /usr/local/bin/apt

% apt version mintsystem
8.1.6+1

% /usr/local/bin/apt list
apt
Usage: apt command [options]
       apt help command [options]

Commands:
...


% /usr/bin/apt list

WARNING: /usr/bin/apt does not have a stable CLI interface yet. Use with caution in scripts.

Listing...
0ad/trusty 0.0.15+dfsg-3 amd64
0ad-data/trusty 0.0.15-1 all
0ad-data-common/trusty 0.0.15-1 all
...

Is there a way to update mintsystem to a corrected version?

/etc/rc.local unavailable

Hi :)
beta LM19 cinnamon 64 full level update
the file
/etc/rc.local is unavailable.
the systemd service is available and working..
after create the /etc/rc.local file, the rc.local startup works ...
regards ehtron

Eject with WD My Passport Ultra external hard disk

I have a WD My Passport Ultra external hard drive. When I plug
it in to the PC, immediately a read-only "WD Unlocker"
device/drive is mounted (this is normal, it is used under
Windows or Mac to provide an app to decrypt and mount the real drive).
But then if I umount that drive and try to eject it, eject gives
an error. I get the same error (via a dialog) if I use nemo to
eject the drive.

I'm using latest Mint 19 Cinnamon.

[Plug in the drive]

$ df
Filesystem             1K-blocks      Used Available Use% Mounted on
...
/dev/sr1                   13212     13212         0 100% /media/user1/WD Unlocker15

$ mount
...
/dev/sr1 on /media/user1/WD Unlocker15 type udf (ro,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,uhelper=udisks2)

$ umount /dev/sr1
$

[Drive no longer appears in mount or df]

$ eject -v /dev/sr1
eject: device name is `/dev/sr1'
eject: expanded name is `/dev/sr1'
eject: `/dev/sr1' is not mounted
eject: `/dev/sr1' is not a mount point
eject: `/dev/sr1' is not a multipartition device
eject: trying to eject `/dev/sr1' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: trying to eject `/dev/sr1' using SCSI commands
eject: SCSI eject failed
eject: trying to eject `/dev/sr1' using floppy eject command
eject: floppy eject command failed
eject: trying to eject `/dev/sr1' using tape offline command
eject: tape offline command failed
eject: unable to eject, last error: Invalid argument

$ eject -v /dev/nosuchdevice
eject: device name is `/dev/nosuchdevice'
eject: unable to find or open device for: `/dev/nosuchdevice'

$ eject -h
Eject version 2.1.5 by Jeff Tranter ([email protected])
...

LINUX MINT BLOATED LOGS

Add journald log rotation size by default, I'm sick of setting it after I've reinstalled the distro and see that 3GB chunk of data. You are a user-friendly distro, you shouldn't omit such fatal flaws that literally freeze a pc to death and leave no option for a novice user to do anything.

Swap in a logical partition

After installing Linux Mint 17.3 bêta, I saw that swap partition is in a logical partition, alone in an extended partition.
Putting the swap partition at the end of the disk is a good idea because it's easiest to move the swap partition after cloning by example. But why not only create a primary partition for swap ? It would be perfect.

Folder /var/spool/anacrom is excluded from Restores by Timeshift in Mint 19 causing anacron.service to fail

/var/spool/anacrom seems to be needed by anacron to hold files called cron.daily, cron.weekly and cron.monthly which contain the date they were last run. The folder is missing on both of my machines running Mint 19. The result is that anacron.service fails as there is no folder to access.

The syslog showed:

....
Aug 26 14:00:18 defiant systemd[1]: Started Run anacron jobs.
Aug 26 14:00:18 defiant anacron[5859]: Can't chdir to /var/spool/anacron: No such file or directory
Aug 26 14:00:18 defiant anacron[5859]: anacron: Can't chdir to /var/spool/anacron: No such file or directory
Aug 26 14:00:18 defiant systemd[1]: anacron.service: Main process exited, code=exited, status=1/FAILURE
Aug 26 14:00:18 defiant systemd[1]: anacron.service: Failed with result 'exit-code'.
...

The result is that anacron does not run and logrotate is not called and the log files gradually fill up which is how I discovered the problem.

I created /var/spool/anacron by sudo mkdir /var/spool/anacron after which syslog showed anacron running and the cron jobs being started

......
Aug 26 16:07:33 defiant anacron[17957]: Job `cron.weekly' started
Aug 26 16:07:33 defiant anacron[27690]: Updated timestamp for job `cron.weekly' to 2018-08-26
Aug 26 16:08:01 defiant anacron[17957]: Job `cron.weekly' terminated
....

and the log files are now rotating.

This may have been caused by an update as I found some rotated log files up to 16th July but I have not been able to find out more.

inxi output

System:    Host: defiant Kernel: 4.15.0-33-generic x86_64 bits: 64
           Desktop: Cinnamon 3.8.8  Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: Notebook product: W230ST serial: N/A
           Mobo: Notebook model: W230ST serial: N/A
           BIOS: American Megatrends v: 4.6.5 date: 11/18/2013
Battery    BAT0: charge: 56.9 Wh 100.0% condition: 56.9/62.2 Wh (91%)
CPU:       Quad core Intel Core i7-4700MQ (-MT-MCP-) cache: 6144 KB
           clock speeds: max: 3400 MHz 1: 1995 MHz 2: 1996 MHz 3: 1995 MHz 4: 1995 MHz
           5: 1996 MHz 6: 1996 MHz 7: 1995 MHz 8: 1998 MHz
Graphics:  Card-1: Intel 4th Gen Core Processor Integrated Graphics Controller
           Card-2: NVIDIA GK106M [GeForce GTX 765M]
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: [email protected]
           OpenGL: renderer: Mesa DRI Intel Haswell Mobile version: 4.5 Mesa 18.0.5
Audio:     Card-1 Intel 8 Series/C220 Series High Def. Audio Controller
           driver: snd_hda_intel
           Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.0-33-generic
Network:   Card-1: Intel Centrino Advanced-N 6235 driver: iwlwifi
           IF: wlp3s0 state: up mac: c4:d9:87:0a:df:a2
           Card-2: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169
           IF: enp4s0f1 state: down mac: 00:90:f5:f7:1d:5b
Drives:    HDD Total Size: 1250.3GB (47.5% used)
           ID-1: /dev/sda model: Samsung_SSD_860 size: 250.1GB
           ID-2: /dev/sdb model: ST1000LM014 size: 1000.2GB
Partition: ID-1: / size: 41G used: 27G (71%) fs: ext4 dev: /dev/sda2
           ID-2: /home size: 139G used: 30G (23%) fs: ext4 dev: /dev/sda4
           ID-3: swap-1 size: 16.78GB used: 0.00GB (0%) fs: swap dev: /dev/sdb3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 65.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 299 Uptime: 5 days Memory: 5570.4/7896.9MB
           Client: Shell (bash) inxi: 2.3.56 

Apt doesn't search well

Imho the search for apt should be returned back from aptitude to /usr/bin/apt.

For an example:

$ /usr/local/bin/apt search "remote desktop client" | wc -l
1173
$ /usr/bin/apt  search "remote desktop client" | wc -l
35

Where the latter gives much better results, where as the previous (aptitude) ignores the quotes and searches for each word separately.

Using apt instead of aptitude for searching would also give the same results as the searches on Ubuntu's apt, which would be better when, for an example, one is following online guides and tutorials.

Should anyone want especially the search results from aptitude, aptitude itself could be used. Now this is just confusing.

Stellarium not working in LM19

Hello
Stellarium 0.18.0 & 0.18.1 and now 0.18.2 are no longer working since I moved to LM19-Cinnamon. Both stellarium 0.18.0 & 0.18.1 worked (started) without problems on LM18.x (but with a warning about open GL on the initial statup after install).
Stellarium installs (from official PPA) without problems but no longer starts. It happens every time. From the terminal I get this:
qt5ct: using qt5ct plugin
User config directory does not exist: "/home/proulxf012/.stellarium"
Creating directory "/home/proulxf012/.stellarium"
QProcess: Destroyed while process ("lspci") is still running.

[ This is Stellarium 0.18.2 - http://www.stellarium.org ]
[ Copyright (C) 2000-2018 Fabien Chereau et al. ]

Writing log file to: "/home/proulxf012/.stellarium/log.txt"
File search paths:
0 . "/home/proulxf012/.stellarium"
1 . "/usr/share/stellarium"
Config file "/home/proulxf012/.stellarium/config.ini" does not exist. Copying the default file.
Config file is: "/home/proulxf012/.stellarium/config.ini"
Default surface format: QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize -1, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
Desired surface format: QSurfaceFormat(version 2.1, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
StelGLWidget constructor
StelGraphicsScene constructor
initializeGL
OpenGL supported version: "2.1 Mesa 18.0.5"
Current Format: QSurfaceFormat(version 2.1, options QFlagsQSurfaceFormat::FormatOption(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
StelMainView::init
Detected: OpenGL "2.1"
Driver version string: "2.1 Mesa 18.0.5"
GL vendor is "Intel Open Source Technology Center"
GL renderer is "Mesa DRI Intel(R) Ironlake Mobile "
GL Shading Language version is "1.20"
MESA Version Number detected: 18
Mesa version is fine, we should not see a graphics problem.
GLSL Version Number detected: 1.2
This is not enough: we need GLSL1.30 or later.
You should update graphics drivers or graphics hardware.
Else, please try to use an older version like 0.12.9, and try there with --safe-mode
You can try to run in an unsupported degraded mode by ignoring the warning and continuing.
But more than likely problems will persist.
Erreur de segmentation (core dumped)

Notice that stellarium works alright from Ubuntu 18.04 (3 flavors tried) but still with the initial warning about a problem (unspecified) about my laptop openGL installation. Program starts without problems and I had no other warnings about it.

I do not see why it would not work with my preferred distro.

François Proulx, Longueuil, Québec, Canada
Laptop: Zareason 1454 (MSI MS-1454)
Intel i3 1st gen + intel video controller
4G ram + 320G HDD
Linux Mint 19 Cinnamon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.