Why flatpak cannot continue downloading file? Posted: 30 Mar 2022 02:55 AM PDT I'm new to flatpak and get confused about it. Before downloading any package I need to install flathub first. It requires a package called org.freedesktop.Sdk which is about 500M. My internet connection is not stable and I encountered problem when downloading it at 200M to 300M. It said Error: While pulling runtime/org.freedesktop.Sdk/x86_64/21.08 from remote flathub: Socket I/O timed out error: Failed to install org.freedesktop.Sdk: While pulling runtime/org.freedesktop.Sdk/x86_64/21.08 from remote flathub: Socket I/O timed out Then I tried to reinstall flathub, and expected it to start from 200M and coniunue download 300M after the break point. However, it started from 0M, which means I have to re-download it??? Why? How can I tell flatpak to continue download from the cache that it has downloaded? For some reason I cannot make my internet connection stable btw. |
X11VNC - connection failed due to incorrect password even though password correct Posted: 30 Mar 2022 01:52 AM PDT Running Xubuntu 20.04 as VM on top of Ubuntu Server 20.04 with bridged interface. I am able to connect to the VM via SSH (also using Putty on Windows 10 machine that will access the VM). Using VNCViewer (part of the TigerVNC project) on a Windows 10 machine I entered the IP address of the VM. A popup for password is displayed where I enter the password but when I click connect I get TigerVNC An unexpected error occurred when communicating with the server: Authentication failure: password check failed! Attempt to reconnect? [No] [Yes] I installed x11vnc the usual way using apt . Following instructions online I created an encrypted password file sudo x11vnc -storepasswd PASSWORD /home/USER/.vnc/passwd an unencrypted password file echo PASSWORD > /home/USER/.vnc/password Respectively I executed x11vnc -forever -shared -display :0 -rfbauth /home/user/.vnc/passwd for the encrypted and x11vnc -forever -shared -display :0 -passwdfile /home/xubuntu/.vnc/passwd for the unencrypted password file. Note: Obviously I didn't do both in parallel. Also password typo is impossible due to the simplicity of the password (something like "abcd"). Both yielded the following log in the SSH terminal: x11vnc -forever -shared -display :0 -passwdfile /home/xubuntu/.vnc/passwd 30/03/2022 10:38:02 x11vnc version: 0.9.16 lastmod: 2019-01-05 pid: 6641 30/03/2022 10:38:02 Using X display :0 30/03/2022 10:38:02 rootwin: 0x53b reswin: 0x3800001 dpy: 0xc07a6840 30/03/2022 10:38:02 30/03/2022 10:38:02 ------------------ USEFUL INFORMATION ------------------ 30/03/2022 10:38:02 X DAMAGE available on display, using it for polling hints. 30/03/2022 10:38:02 To disable this behavior use: '-noxdamage' 30/03/2022 10:38:02 30/03/2022 10:38:02 Most compositing window managers like 'compiz' or 'beryl' 30/03/2022 10:38:02 cause X DAMAGE to fail, and so you may not see any screen 30/03/2022 10:38:02 updates via VNC. Either disable 'compiz' (recommended) or 30/03/2022 10:38:02 supply the x11vnc '-noxdamage' command line option. 30/03/2022 10:38:02 30/03/2022 10:38:02 Wireframing: -wireframe mode is in effect for window moves. 30/03/2022 10:38:02 If this yields undesired behavior (poor response, painting 30/03/2022 10:38:02 errors, etc) it may be disabled: 30/03/2022 10:38:02 - use '-nowf' to disable wireframing completely. 30/03/2022 10:38:02 - use '-nowcr' to disable the Copy Rectangle after the 30/03/2022 10:38:02 moved window is released in the new position. 30/03/2022 10:38:02 Also see the -help entry for tuning parameters. 30/03/2022 10:38:02 You can press 3 Alt_L's (Left "Alt" key) in a row to 30/03/2022 10:38:02 repaint the screen, also see the -fixscreen option for 30/03/2022 10:38:02 periodic repaints. 30/03/2022 10:38:02 30/03/2022 10:38:02 XFIXES available on display, resetting cursor mode 30/03/2022 10:38:02 to: '-cursor most'. 30/03/2022 10:38:02 to disable this behavior use: '-cursor arrow' 30/03/2022 10:38:02 or '-noxfixes'. 30/03/2022 10:38:02 using XFIXES for cursor drawing. 30/03/2022 10:38:02 GrabServer control via XTEST. 30/03/2022 10:38:02 30/03/2022 10:38:02 Scroll Detection: -scrollcopyrect mode is in effect to 30/03/2022 10:38:02 use RECORD extension to try to detect scrolling windows 30/03/2022 10:38:02 (induced by either user keystroke or mouse input). 30/03/2022 10:38:02 If this yields undesired behavior (poor response, painting 30/03/2022 10:38:02 errors, etc) it may be disabled via: '-noscr' 30/03/2022 10:38:02 Also see the -help entry for tuning parameters. 30/03/2022 10:38:02 You can press 3 Alt_L's (Left "Alt" key) in a row to 30/03/2022 10:38:02 repaint the screen, also see the -fixscreen option for 30/03/2022 10:38:02 periodic repaints. 30/03/2022 10:38:02 30/03/2022 10:38:02 XKEYBOARD: number of keysyms per keycode 7 is greater 30/03/2022 10:38:02 than 4 and 51 keysyms are mapped above 4. 30/03/2022 10:38:02 Automatically switching to -xkb mode. 30/03/2022 10:38:02 If this makes the key mapping worse you can 30/03/2022 10:38:02 disable it with the "-noxkb" option. 30/03/2022 10:38:02 Also, remember "-remap DEAD" for accenting characters. 30/03/2022 10:38:02 30/03/2022 10:38:02 X FBPM extension not supported. Xlib: extension "DPMS" missing on display ":0". 30/03/2022 10:38:02 X display is not capable of DPMS. 30/03/2022 10:38:02 -------------------------------------------------------- 30/03/2022 10:38:02 30/03/2022 10:38:02 Default visual ID: 0x21 30/03/2022 10:38:02 Read initial data from X display into framebuffer. 30/03/2022 10:38:02 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/4096 30/03/2022 10:38:02 30/03/2022 10:38:02 X display :0 is 32bpp depth=24 true color 30/03/2022 10:38:02 30/03/2022 10:38:02 Autoprobing TCP port 30/03/2022 10:38:02 Autoprobing selected TCP port 5901 30/03/2022 10:38:02 Autoprobing TCP6 port 30/03/2022 10:38:02 rfbListenOnTCP6Port: error in bind IPv6 socket: Address already in use 30/03/2022 10:38:02 Autoprobing selected TCP6 port 5901 30/03/2022 10:38:02 listen6: bind: Address already in use 30/03/2022 10:38:02 Not listening on IPv6 interface. 30/03/2022 10:38:02 30/03/2022 10:38:02 Xinerama is present and active (e.g. multi-head). 30/03/2022 10:38:02 Xinerama: number of sub-screens: 1 30/03/2022 10:38:02 Xinerama: no blackouts needed (only one sub-screen) 30/03/2022 10:38:02 30/03/2022 10:38:02 fb read rate: 230 MB/sec 30/03/2022 10:38:02 fast read: reset -wait ms to: 10 30/03/2022 10:38:02 fast read: reset -defer ms to: 10 30/03/2022 10:38:02 The X server says there are 10 mouse buttons. 30/03/2022 10:38:02 screen setup finished. 30/03/2022 10:38:02 The VNC desktop is: SZA-DT043-L-VM0:1 PORT=5901 ****************************************************************************** Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet? The scheme stores pixel data offscreen on the VNC viewer side for faster retrieval. It should work with any VNC viewer. Try it by running: x11vnc -ncache 10 ... One can also add -ncache_cr for smooth 'copyrect' window motion. More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching One thing I noticed is that at least in the case of creating an unencrypted password file running x11vnc with sudo yields an error 30/03/2022 10:46:06 x11vnc version: 0.9.16 lastmod: 2019-01-05 pid: 6708 No protocol specified 30/03/2022 10:46:06 XOpenDisplay(":0") failed. 30/03/2022 10:46:06 Trying again with XAUTHLOCALHOSTNAME=localhost ... No protocol specified 30/03/2022 10:46:06 *************************************** 30/03/2022 10:46:06 *** XOpenDisplay failed (:0) ***x11vnc was unable to open the X DISPLAY ":0", it cannot continue ***There may be "Xlib:" error message above with details about the failure Some tips and guidelines ... I don't know how this affects the problem I am having but thought it might provide some insight to the more knowledgeable folks around here. Since it's an internal company network I am not worried about someone breaking into my VM (which is meant to be disposable anyway). I will try to setup X11VNC without any authentication (if possible) but even if that works I am still interested into the cause of the issue at hand. |
GNU parallel export function output to variables failed Posted: 30 Mar 2022 01:43 AM PDT This script is to determine when destination file already exist, source file will update the destination one or be removed according to flag "$dup_act". #!/bin/bash dup_chk() { # $1: f_src, $2: f_dest, $3: dup_act (keep file u/pdate, l/arge) # check source file and destination file status [[ "$3" = u && $(stat -c%Y "$1") -gt $(stat -c%Y "$2") || "$3" = l && $(stat -c%s "$1") -gt $(stat -c%s "$2") ]] \ && echo -e "$1~$2~\n" >> mv_f.tmp || echo -e "$1\n" >> rm_f.tmp # mv_f.tmp: a list of source file replace destination one # rm_f.tmp: a list of source file to be removed } [[ -f mv_f.tmp ]] && rm mv_f.tmp ; [[ -f rm_f.tmp ]] && rm rm_f.tmp dup_act=u # or dup_act=l export dup_act export -f dup_chk cat dup_files.txt | parallel -j10 --no-run-if-empty --colsep '~' dup_chk {1} {2} "$dup_act" # The mv_f.tmp and rm_f.tmp files are generated correctly. Now, I want to use variables to replace output files. e.g. mv_f.tmp --> $mv_f, rm_f.tmp --> $rm_f In dup_chk() function: && echo -e "$1~$2~\n" >> mv_f.tmp || echo -e "$1\n" >> rm_f.tmp --> && mv_f+="$1~$2~\n" || || rm_f+="$1\n", In main program: [[ -f mv_f.tmp ]] && rm mv_f.tmp ; [[ -f rm_f.tmp ]] && rm rm_f.tmp --> mv_f= ; rm_f= The result: $mv_f and $rm_f variables are empty I found out in other post: "Environment variables can only be passed from parent to child (as part of environment export/inheritance), not the other way around.". Is this the reason? Please help. Thanks. |
Fix audio crackling linux Posted: 30 Mar 2022 02:17 AM PDT I had audio crackling in 2 different software at least (Chrome & Spotify) so I guessed it was system level issue. I searched and found a solution that worked for me and wanted to share it. Edit : Issue was on ubuntu 21.10 on latitude 5511 |
How can I delete '~' directory? [duplicate] Posted: 30 Mar 2022 01:00 AM PDT I accidentally created a directory called '~' (with the simple quotes). How can I delete it ? I tried : rm -rf '~' rm -rf "'~'" rm -rf \'~\' None of them worked. |
DHCP client send hostname "linux" Posted: 30 Mar 2022 01:30 AM PDT I start by saying that my experience in networking is somewhere between low and medium. I'm working on a Linux machine with DHCP configured and from tcpdump traces I see that the dhclient send the hostname "linux" in Option 12, Request packages. I verified the files /etc/hostname, /etc/hosts and /etc/dhclient.conf and there's no parameter related to the hostname that have the value "linux". I must specify that I use dhcpcd. Any help/hint is appreciated since I don't have any ideas where that value is set. |
sshd won't let me enable Posted: 30 Mar 2022 12:53 AM PDT I want to use ssh on my device, and I can start sshd just fine with systemctl start sshd , but I want it to start automatically at boot. The problem is, if I try sudo systemctl enable sshd , I get the following error: Failed to enable unit: File /etc/systemd/system/multi-user.target.wants/sshd.service already exists. How can I fix this issue so that the ssh server starts when I start my device? |
Help With GPU pass-through, stuck on Creating Domain after MX130 GPU pass-through Posted: 29 Mar 2022 11:01 PM PDT I figured out how to GPU pass-though, I used a GitHub page to run the script, I did chmod it. Here is the link: https://github.com/pavolelsig/Passthrough_helper_PopOS Specs: MX350 (GPU I WANNA PASS) 32 GB DDR4 2400MHZ (16 GB ON VM) i7 8565U 4 CORES 8 THREADS (INTEL UHD 620) The problem is, my VM is stuck on Creating Domain... Using Pop!_OS 21.10 as host and Windows 10 21H2 as VM |
Bash: delete backward until backslash Posted: 30 Mar 2022 02:35 AM PDT |
Help understanding linux command for load test Posted: 29 Mar 2022 10:58 PM PDT I am creating a test load for my website and I wanted to understand what this command really means? ('dd if=/dev/zero bs=100M count=500 | gzip | gzip -d > /dev/null &') What I understood so far is that this is getting blocks of 100MiB of data at a time copying them to the disk and them compressing and decompressing them. Does that sound correct? |
Has Linux always separated User and Kernel space? Posted: 29 Mar 2022 11:26 PM PDT I was thinking back to my introduction to programming recently and remembered writing a C++ program that deliberately read and wrote to memory addresses at random. I did this to see what would happen. To my surprise, on my Windows 98 PC, my program would create some really weird side effects. Occasionally it would toggle OS settings, or create graphical glitches. More often than not it would do nothing or just crash the entire system. I later learned this was because Windows 98 didn't restrict what a user process had access to. I could read and write to RAM used by other processes and even the OS. It is my understanding that this changed with Windows NT (though I think it took a while to get right). Now Windows prevents you from poking around in RAM that doesn't belong to your process. I vaguely remember running my program on a Linux system later on and not getting nearly as many entertaining results. If I understand correctly this is, at least in part, due to the separation of User and Kernel space. So, my question is: Was there a time when Linux did not separate User and Kernel space? In other words, was there a time when my rogue program could have caused similar havoc to a Linux system? |
I need help (both with GRUB and GPU pass-through) Posted: 30 Mar 2022 01:13 AM PDT How do I add a parameter to system-d on Pop!_OS? I want to pass-through a GPU. Please also give a a good guide of how to GPU pass-through on Pop!_OS 21.10. Thanks in advance. |
Expand logical volume - Ubuntu on Proxmox Posted: 30 Mar 2022 03:11 AM PDT After expanding the size of the disk on my Proxmox hypervisor from 8GB to 18GB I am trying to see this new space on my Ubuntu 20.04 VM: These are the commands I'd run on the VM # Physical volume is called /dev/sda3 sudo pvs # resize the Physical Volume (PV) sudo pvresize /dev/sda3 # root logical volume is df -h # expand the logical volume sudo lvextend -r -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv # resize my number 3 partition (this gave me 17GB on sda3) sudo growpart /dev/sda 3 I can see it on the sda3 partition! Want to see the 18GB on /dev/mapper/ubuntu--vg-ubuntu--lv https://unix.stackexchange.com/a/583544 - am following these instructions Any pointers would be great! |
Make a virtualbox hard drive from virtual block device Posted: 30 Mar 2022 12:45 AM PDT I'm trying to create LFS (linux from scratch) but copying to usb is so slow so I created a virtual disk file of 3GB using created partition and formatted to ext4. sudo dd if=/dev/zero of=./lfs.img bs=1M count=3000 sudo fdisk lfs.img #created partition sudo losetup -Pf --show lfs.img vaibhav@vaibhav:/mnt$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 3G 0 loop ├─loop0p1 259:0 0 2.5G 0 part /mnt └─loop0p2 259:1 0 499M 0 part sudo mkfs.ext4 /dev/loop0p1 sudo mount /dev/loop0p1 /mnt then I copied my linux packages from host to virtual drive here is my linux fs on virtual drive. vaibhav@vaibhav:/mnt$ ls bin boot dev etc home lfs lib lib64 lost+found mnt opt proc root run sbin srv sys tmp usr var So now I want to boot this drive on my Virtualbox how I can add this loopback device to act as a hard drive for virtualbox. EDITS I was able to convert to VDI file but when I change in raw directory I have to recreate this VDI every time and I think doing 3GB every time it not good for SSD. So is there any way I can direclty mount directory as Hard drive in Virtualbox? |
Showing 𝐒, 𝐽, and 𝑁 in the terminal Posted: 29 Mar 2022 10:41 PM PDT How can I make 𝐒(U+1d412), 𝐽(U+1d43d), and 𝑁(U+1d441), which I can display clearly in my browser, show in the terminal? I use Urxvt on Archlinux. The ~/.Xdefaults file has this content: URxvt*foreground: #ffffff URxvt*background: #000000 URxvt*font: xft:DejaVuSansMono Nerd Font Mono:size=12 URxvt*cursorBlink: true URxvt*scrollBar: false URxvt*scrollTtyOutput: false URxvt*saveLines: 50000 URxvt*scrollWithBuffer: true URxvt*scrollTtyKeypress:true URxvt.perl-ext-common: resize-font URxvt*color4: #265997 URxvt*color12: #3F6FD0 I know I have to change its 3rd line, but I don't how to know which font can show those symbols, nor if I have it already installed. I know that the present question is (almost?) a duplicate of a similar question I asked a couple of years ago, however to be honest I'm still totally ignorant on this matter, and none of those answers really gave me a deterministic way to solve the problem of which font I need to install. At the Font page of Archlinux wiki I read: List installed fonts for a particular Unicode character To search for monospace fonts supporting a particular Unicode codepoint: fc-match -s monospace:charset=hex-code and doing so for the 3 unicodes above gives several results on my system, however I don't know how I should update my ~/.Xdefaults . For now, what I've tried has been changing the line URxvt*font: xft:DejaVuSansMono Nerd Font Mono:size=12 and see what happens. In fact, I've discovered that I can try out fonts live in the terminal without changing the configuration above by just entering printf '\e]710;%s\007' "xft:font-name:pixelsize=12" , so I've done so for several font-name s, which I've chosen from fc-list 's output, by picking the text between the first and second (i.e. last) : , e.g. since fc-list has this line /usr/share/fonts/TTF/Meslo LG L DZ Regular Nerd Font Complete Mono.ttf: MesloLGLDZ Nerd Font Mono:style=Regular I've entered printf '\e]710;%s\007' "xft:MesloLGSDZ Nerd Font Mono:pixelsize=12" cat a-file-with-those-three-glyphs-in-it but I keep seeing the boxes meaning the characters can't be shown. |
Scale images to fixed target pixel size Posted: 29 Mar 2022 11:11 PM PDT I want to reduce the size of my JPG images to the same total pixel size (e.g. 6MPx) no matter of the input size or ratio. Of course mogrify or convert can resize: This ... mogrify -resize 3000x3000 file.jpg ... will give me 6MPx for pictures with ratio 3:2. But this won't work with unusual ratios like e.g. panoramas. Q: How to use mogrify / convert to get a specified target pixel size ? |
Why do I need to specify `-o auto` for join's `-e` option to work? Posted: 30 Mar 2022 12:13 AM PDT With the following two simple files: a.txt 1 a 2 b 5 c b.txt 2 x 4 y 5 z The following command does not behave like expected: $ join -a 1 -a 2 -e 0 a.txt b.txt 1 a 2 b x 4 y 5 c z I would expect the option -e 0 to fill up missing values with zeroes. However, the following does work: $ join -a 1 -a 2 -e 0 -o auto a.txt b.txt 1 a 0 2 b x 4 0 y 5 c z Reading documentation from $ man join , I see no connection between -o and -e that would make the above behaviour meaningful. Instead, I find it misleading that a useless -o auto needs to be inserted into my command for -e 0 to work.. Is there an explanation? Or should I file this as a bug to coreutils? |
delete string ending with a pattern for each column Posted: 29 Mar 2022 11:41 PM PDT I would like to delete all entries with (L=6), (L=7).....(L=12) occurring in a file randomly the following format; my input file: TRINITY_DN1910_c0_g1_i13 GO:0005975(L=2) GO:0006022(L=4) GO:0006026(L=5) GO:0006030(L=9) GO:0006032(L=11) GO:0006040(L=6) TRINITY_DN1452_c0_g1_i11 GO:0005975(L=3) GO:0006022(L=9) GO:0006026(L=12) GO:0006030(L=2) GO:0006032(L=4) GO:0006040(L=5) The file is tab delimited. Expected output TRINITY_DN1910_c0_g1_i13 GO:0005975(L=2) GO:0006022(L=4) GO:0006026(L=5) TRINITY_DN1452_c0_g1_i11 GO:0005975(L=3) GO:0006030(L=2) GO:0006032(L=4) GO:0006040(L=5) |
Error while installing mariadb-server on Kali Linux Posted: 30 Mar 2022 02:49 AM PDT I'm starting to set up my first DVWA on my Kali Linux machine. I tried to install mariadb-server using apt-get install mariadb-server as a root. I ran into error and I couldn't proceed. Preparing to unpack .../6-mariadb-client-10.3_1%3a10.3.23-1_amd64.deb ... Unpacking mariadb-client-10.3 (1:10.3.23-1) ... Selecting previously unselected package mariadb-server-core-10.3. Preparing to unpack .../7-mariadb-server-core-10.3_1%3a10.3.23-1_amd64.deb ... Unpacking mariadb-server-core-10.3 (1:10.3.23-1) ... Selecting previously unselected package rsync. Preparing to unpack .../8-rsync_3.2.2-2_amd64.deb ... Unpacking rsync (3.2.2-2) ... Setting up mariadb-common (1:10.3.23-1) ... update-alternatives: error: alternative path /etc/mysql/mariadb.cnf doesn't exist dpkg: error processing package mariadb-common (--configure): installed mariadb-common package post-installation script subprocess returned error exit status 2 Errors were encountered while processing: mariadb-common needrestart is being skipped since dpkg has failed E: Sub-process /usr/bin/dpkg returned an error code (1) root@kali:~# I think the problem is with a broken dpkg package. I need more insight on this. |
I get these errors from dpkg-reconfigure, few packages throw errors while processing Posted: 30 Mar 2022 03:14 AM PDT I cannot seem to install any package at the app at the moment, it seems like the packages required for those apps to install are bad, I have searched and tried some solutions but those same packages still throw errors when i try them. These are the lines when i run sudo dpkg --configure -a : sudo dpkg --configure -a Setting up python-apt-common (1.6.4+elementary6~ubuntu5.0.1) ... Setting up libgs9-common (9.26~dfsg+0-0ubuntu0.18.04.9) ... Setting up imagemagick-6-common (8:6.9.7.4+dfsg-16ubuntu6.7) ... Installing new version of config file /etc/ImageMagick-6/policy.xml ... Setting up libglvnd0:amd64 (1.0.0-2ubuntu2.3) ... Setting up gnome-settings-daemon-schemas (3.28.1-0ubuntu1.3+elementary4~ubuntu5.0.1) ... Setting up libisc169:amd64 (1:9.11.3+dfsg-1ubuntu1.8) ... Setting up libapt-inst2.0:amd64 (1.6.11) ... Setting up libnss-systemd:amd64 (237-3ubuntu10.24) ... Setting up keyboard-configuration (1.178ubuntu2.9) ... Your console font configuration will be updated the next time your system boots. If you want to update it now, run 'setupcon' from a virtual console. update-initramfs: deferring update (trigger activated) Setting up libwbclient0:amd64 (2:4.7.6+dfsg~ubuntu-0ubuntu2.11) ... Setting up libisccc160:amd64 (1:9.11.3+dfsg-1ubuntu1.8) ... Setting up xserver-common (2:1.19.6-1ubuntu4.3) ... Setting up cups-server-common (2.2.7-1ubuntu2.6) ... Setting up language-pack-pl (1:18.04+20190718) ... Setting up elementary-theme (5.2.4+r954+pkg322~daily~ubuntu5.0.1) ... Setting up libllvm8:amd64 (1:8-3~ubuntu18.04.1) ... Setting up nautilus-data (1:3.26.4-0~ubuntu18.04.4) ... Setting up ppp (2.4.7-2+2ubuntu1.1) ... Setting up psmisc (23.1-1ubuntu0.1) ... Processing triggers for mime-support (3.60ubuntu1) ... Setting up ureadahead (0.100.0-21) ... Setting up language-pack-nl (1:18.04+20190117) ... Setting up xxd (2:8.0.1453-1ubuntu1.1) ... Setting up libpng16-16:amd64 (1.6.34-1ubuntu0.18.04.2) ... Setting up isc-dhcp-common (4.3.5-3ubuntu7.1) ... Setting up libgtk-3-common (3.22.30-1ubuntu4) ... Setting up libldap-common (2.4.45+dfsg-1ubuntu1.2) ... Setting up libarchive13:amd64 (3.2.2-3.1ubuntu0.3) ... Setting up apt-utils (1.6.11) ... Processing triggers for install-info (6.5.0.dfsg.1-2) ... Setting up debconf-i18n (1.5.66ubuntu1) ... Setting up libgranite-common (5.2.4+r1403+pkg108~ubuntu5.0.1) ... Setting up libisc-export169:amd64 (1:9.11.3+dfsg-1ubuntu1.8) ... Setting up libnuma1:amd64 (2.0.11-2.1ubuntu0.1) ... Setting up cups-common (2.2.7-1ubuntu2.6) ... Setting up tzdata (2019b-0ubuntu0.18.04) ... Current default time zone: 'Africa/Lagos' Local time is now: Sun Jul 28 16:00:35 WAT 2019. Universal Time is now: Sun Jul 28 15:00:35 UTC 2019. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up fonts-noto-color-emoji (0~20180810-0ubuntu1) ... Setting up language-pack-ja (1:18.04+20190718) ... Setting up systemd-sysv (237-3ubuntu10.24) ... Setting up libelf1:amd64 (0.170-0.4ubuntu0.1) ... Setting up mutter-common (3.28.4-0ubuntu18.04.1+elementary4~ubuntu5.0.1) ... Setting up gpgconf (2.2.4-1ubuntu1.2) ... Setting up evolution-data-server-common (3.28.5-0ubuntu0.18.04.2) ... Setting up libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.4) ... Setting up libasound2-data (1.1.3-5ubuntu0.2) ... Setting up libwayland-client0:amd64 (1.16.0-1ubuntu1.1~18.04.1) ... Setting up language-pack-fr (1:18.04+20190718) ... Setting up mount (2.31.1-0.4ubuntu3.3) ... Setting up gpg-agent (2.2.4-1ubuntu1.2) ... Setting up distro-info-data (0.37ubuntu0.5) ... Setting up libtiff5:amd64 (4.0.9-5ubuntu0.2) ... Setting up gettext-base (0.19.8.1-6ubuntu0.3) ... Setting up libgweather-common (3.28.2-1~ubuntu18.04.1) ... Setting up libu2f-udev (1.1.4-1ubuntu0.1) ... Setting up libglapi-mesa:amd64 (19.0.2-1ubuntu1.1~18.04.2) ... Setting up libpackagekit-glib2-18:amd64 (1.1.9-1ubuntu2.18.04.5) ... Setting up libdevmapper1.02.1:amd64 (2:1.02.145-4.1ubuntu3.18.04.1) ... Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... Processing triggers for gnome-icon-theme (3.12.0-3) ... Setting up pantheon (1.466+r530~daily~ubuntu5.0.1) ... Setting up fonts-noto-cjk (1:20190409+repack1-0ubuntu0.18.04) ... Setting up libkrb5support0:amd64 (1.16-2ubuntu0.1) ... Setting up libkmod2:amd64 (24-1ubuntu3.2) ... Setting up language-pack-gnome-ja (1:18.04+20190718) ... Setting up gstreamer1.0-tools (1.14.4-1~ubuntu18.04.1) ... Setting up libmagic-mgc (1:5.32-2ubuntu0.2) ... Setting up gnupg-l10n (2.2.4-1ubuntu1.2) ... Setting up libasound2:amd64 (1.1.3-5ubuntu0.2) ... Setting up evince-common (3.28.4-0ubuntu1.2+elementary2~ubuntu5.0.1) ... Setting up bzip2 (1.0.6-8.1ubuntu0.2) ... Setting up uuid-runtime (2.31.1-0.4ubuntu3.3) ... Setting up libmagic1:amd64 (1:5.32-2ubuntu0.2) ... Setting up libdrm-common (2.4.97-1ubuntu1~18.04.1) ... Setting up libsane-common (1.0.27-1~experimental3ubuntu2.1) ... Setting up libxslt1.1:amd64 (1.1.29-5ubuntu0.1) ... Setting up libdevmapper-event1.02.1:amd64 (2:1.02.145-4.1ubuntu3.18.04.1) ... Setting up binutils-common:amd64 (2.30-21ubuntu1~18.04.2) ... Setting up busybox-initramfs (1:1.27.2-2ubuntu3.2) ... Setting up libsndfile1:amd64 (1.0.28-4ubuntu0.18.04.1) ... Setting up libfontembed1:amd64 (1.20.2-0ubuntu3.1) ... Setting up libx11-xcb1:amd64 (2:1.6.4-3ubuntu0.2) ... Setting up bubblewrap (0.2.1-1ubuntu0.1) ... Setting up libglib2.0-data (2.56.4-0ubuntu0.18.04.4) ... Setting up libdbusmenu-glib4:amd64 (16.04.1+18.04.20171206-0ubuntu2) ... Setting up krb5-locales (1.16-2ubuntu0.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Setting up libmm-glib0:amd64 (1.10.0-1~ubuntu18.04.2) ... Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... Setting up udev (237-3ubuntu10.24) ... update-initramfs: deferring update (trigger activated) Setting up language-pack-it (1:18.04+20190718) ... Setting up libldap-2.4-2:amd64 (2.4.45+dfsg-1ubuntu1.2) ... Setting up epiphany-browser-data (3.28.5-0ubuntu1+elementary20~ubuntu5.0.1) ... dpkg: error processing package libplank-common (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration Processing triggers for doc-base (0.10.8) ... Processing 4 changed doc-base files... Setting up language-pack-gnome-pl (1:18.04+20190718) ... Setting up gpgsm (2.2.4-1ubuntu1.2) ... Setting up libdns-export1100 (1:9.11.3+dfsg-1ubuntu1.8) ... Setting up openssl (1.1.1-1ubuntu2.1~18.04.4) ... Installing new version of config file /etc/ssl/openssl.cnf ... Setting up libplymouth4:amd64 (0.9.3-1ubuntu7.18.04.2) ... Setting up wget (1.19.4-1ubuntu2.2) ... Setting up libupower-glib3:amd64 (0.99.7-2ubuntu0.18.04.1) ... Setting up gnupg-utils (2.2.4-1ubuntu1.2) ... Setting up vim-common (2:8.0.1453-1ubuntu1.1) ... Setting up libsqlite3-0:amd64 (3.22.0-1ubuntu0.1) ... Setting up dmsetup (2:1.02.145-4.1ubuntu3.18.04.1) ... update-initramfs: deferring update (trigger activated) Setting up language-pack-gnome-nl (1:18.04+20190117) ... Setting up libgles2:amd64 (1.0.0-2ubuntu2.3) ... Setting up man-db (2.8.3-2ubuntu0.1) ... Updating database of manual pages ... Setting up libxkbcommon0:amd64 (0.8.0-1ubuntu0.1) ... Setting up libical3:amd64 (3.0.5-0elementary5.0.1) ... Setting up avahi-autoipd (0.7-3.1ubuntu1.2) ... Setting up libjavascriptcoregtk-4.0-18:amd64 (2.24.2-0ubuntu0.18.04.1) ... Setting up gstreamer1.0-plugins-base-apps (1.14.4-1ubuntu1.1~ubuntu18.04.1) ... Setting up libgda-5.0-common (5.2.4-9ubuntu0.1) ... Setting up libntfs-3g88 (1:2017.3.23-2ubuntu0.18.04.2) ... Setting up busybox-static (1:1.27.2-2ubuntu3.2) ... Setting up initramfs-tools-bin (0.130ubuntu3.8) ... Setting up friendly-recovery (0.2.38ubuntu1.1) ... Sourcing file `/etc/default/grub' Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.15.0-55-generic Found initrd image: /boot/initrd.img-4.15.0-55-generic Found linux image: /boot/vmlinuz-4.15.0-36-generic Found initrd image: /boot/initrd.img-4.15.0-36-generic Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi Adding boot menu entry for EFI firmware configuration done Setting up console-setup-linux (1.178ubuntu2.9) ... Setting up libpython2.7-minimal:amd64 (2.7.15-4ubuntu4~18.04) ... Setting up libpci3:amd64 (1:3.5.2-1ubuntu1.1) ... Setting up dirmngr (2.2.4-1ubuntu1.2) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Setting up irqbalance (1.3.0-0.1ubuntu0.18.04.1) ... Setting up libglib2.0-bin (2.56.4-0ubuntu0.18.04.4) ... Setting up policykit-desktop-privileges (0.20ubuntu18.04.1) ... Setting up gnome-desktop3-data (3.28.2-0ubuntu1.5) ... Setting up elementary-icon-theme (5.0.3+r2120~ubuntu18.04.1) ... Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... Setting up libwayland-cursor0:amd64 (1.16.0-1ubuntu1.1~18.04.1) ... Setting up gstreamer1.0-alsa:amd64 (1.14.4-1ubuntu1.1~ubuntu18.04.1) ... Setting up liblwres160:amd64 (1:9.11.3+dfsg-1ubuntu1.8) ... Setting up rfkill (2.31.1-0.4ubuntu3.3) ... Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... Setting up libpython2.7-stdlib:amd64 (2.7.15-4ubuntu4~18.04) ... Setting up libidn11:amd64 (1.33-2.1ubuntu1.2) ... Processing triggers for rsyslog (8.32.0-1ubuntu4) ... Setting up xserver-xorg-legacy (2:1.19.6-1ubuntu4.3) ... setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file Setting up libpolkit-gobject-1-0:amd64 (0.105-20ubuntu0.18.04.5) ... Setting up libdbus-1-3:amd64 (1.12.2-1ubuntu1.1) ... Setting up gpg (2.2.4-1ubuntu1.2) ... Setting up language-pack-sv (1:18.04+20190718) ... Processing triggers for fontconfig (2.12.6-0ubuntu2) ... Setting up python2.7-minimal (2.7.15-4ubuntu4~18.04) ... Setting up libavahi-common-data:amd64 (0.7-3.1ubuntu1.2) ... Setting up language-pack-de (1:18.04+20190117) ... Setting up libwayland-server0:amd64 (1.16.0-1ubuntu1.1~18.04.1) ... Setting up libxcb-xkb1:amd64 (1.13-2~ubuntu18.04) ... Setting up iputils-ping (3:20161105-1ubuntu3) ... Setting up vim-tiny (2:8.0.1453-1ubuntu1.1) ... Setting up libgda-5.0-4:amd64 (5.2.4-9ubuntu0.1) ... Setting up libxcb-present0:amd64 (1.13-2~ubuntu18.04) ... Setting up libpython3.6-stdlib:amd64 (3.6.8-1~18.04.1) ... Setting up libswitchboard-2.0-0 (2.3.6~r935+pkg64~ubuntu5.0.1) ... Setting up console-setup (1.178ubuntu2.9) ... update-initramfs: deferring update (trigger activated) Setting up gstreamer1.0-plugins-base:amd64 (1.14.4-1ubuntu1.1~ubuntu18.04.1) ... Setting up libgeocode-glib0:amd64 (3.25.4.1-4ubuntu0.18.04.1) ... Setting up libxcb-dri2-0:amd64 (1.13-2~ubuntu18.04) ... Setting up libxcb-dri3-0:amd64 (1.13-2~ubuntu18.04) ... Setting up kmod (24-1ubuntu3.2) ... Installing new version of config file /etc/modprobe.d/blacklist.conf ... Setting up libk5crypto3:amd64 (1.16-2ubuntu0.1) ... Setting up libxcb-glx0:amd64 (1.13-2~ubuntu18.04) ... Setting up libxcb-randr0:amd64 (1.13-2~ubuntu18.04) ... Setting up libparted2:amd64 (3.2-20ubuntu0.2) ... dpkg: dependency problems prevent configuration of libplank1:amd64: libplank1:amd64 depends on libplank-common (= 0.11.4+git20190318.fb624c21-0elementary5.0.1); however: Package libplank-common is not configured yet. dpkg: error processing package libplank1:amd64 (--configure): dependency problems - leaving unconfigured Setting up language-pack-gnome-fr (1:18.04+20190718) ... Setting up libxcb-xfixes0:amd64 (1.13-2~ubuntu18.04) ... Setting up language-pack-gnome-de (1:18.04+20190117) ... Setting up libxcb-render0:amd64 (1.13-2~ubuntu18.04) ... Setting up python3.6 (3.6.8-1~18.04.1) ... Setting up libparted-fs-resize0:amd64 (3.2-20ubuntu0.2) ... Setting up libappstream4:amd64 (0.12.6-0elementary5.0.1) ... Setting up desktop-file-utils (0.23-1ubuntu3.18.04.2+elementary2~ubuntu5.0.1) ... Setting up libbinutils:amd64 (2.30-21ubuntu1~18.04.2) ... Setting up initramfs-tools-core (0.130ubuntu3.8) ... Setting up libpolkit-agent-1-0:amd64 (0.105-20ubuntu0.18.04.5) ... Setting up libxcb-res0:amd64 (1.13-2~ubuntu18.04) ... Setting up language-pack-gnome-sv (1:18.04+20190718) ... Setting up libdbusmenu-gtk3-4:amd64 (16.04.1+18.04.20171206-0ubuntu2) ... Setting up libnm0:amd64 (1.10.6-2ubuntu1.1) ... Setting up libldb1:amd64 (2:1.2.3-1ubuntu0.1) ... Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... Setting up wpasupplicant (2:2.6-15ubuntu2.3) ... Setting up python2.7 (2.7.15-4ubuntu4~18.04) ... Setting up libnss3:amd64 (2:3.35-2ubuntu2.3) ... Setting up appstream (0.12.6-0elementary5.0.1) ... Installing new version of config file /etc/apt/apt.conf.d/50appstream ... AppStream cache update completed successfully. Setting up initramfs-tools (0.130ubuntu3.8) ... update-initramfs: deferring update (trigger activated) Setting up gpg-wks-server (2.2.4-1ubuntu1.2) ... Setting up parted (3.2-20ubuntu0.2) ... Setting up gpg-wks-client (2.2.4-1ubuntu1.2) ... Setting up file (1:5.32-2ubuntu0.2) ... Setting up libxkbcommon-x11-0:amd64 (0.8.0-1ubuntu0.1) ... Setting up libpulse0:amd64 (1:11.1-1ubuntu7.2) ... Setting up libdrm2:amd64 (2.4.97-1ubuntu1~18.04.1) ... Setting up isc-dhcp-client (4.3.5-3ubuntu7.1) ... Setting up language-pack-gnome-it (1:18.04+20190718) ... Setting up libxcb-sync1:amd64 (1.13-2~ubuntu18.04) ... Setting up perl (5.26.1-6ubuntu0.3) ... Setting up plymouth (0.9.3-1ubuntu7.18.04.2) ... update-initramfs: deferring update (trigger activated) update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Setting up libpoppler73:amd64 (0.62.0-2ubuntu2.9) ... Setting up libdrm-intel1:amd64 (2.4.97-1ubuntu1~18.04.1) ... Setting up libpolkit-backend-1-0:amd64 (0.105-20ubuntu0.18.04.5) ... Setting up iputils-tracepath (3:20161105-1ubuntu3) ... Setting up elementary-artwork (1.466+r530~daily~ubuntu5.0.1) ... Setting up ntfs-3g (1:2017.3.23-2ubuntu0.18.04.2) ... Processing triggers for systemd (237-3ubuntu10.24) ... Setting up libpython2.7:amd64 (2.7.15-4ubuntu4~18.04) ... Setting up libxcb-shm0:amd64 (1.13-2~ubuntu18.04) ... Setting up pciutils (1:3.5.2-1ubuntu1.1) ... Setting up libkrb5-3:amd64 (1.16-2ubuntu0.1) ... dpkg: dependency problems prevent configuration of plank: plank depends on libplank1 (= 0.11.4+git20190318.fb624c21-0elementary5.0.1); however: Package libplank1:amd64 is not configured yet. dpkg: error processing package plank (--configure): dependency problems - leaving unconfigured Setting up libavahi-common3:amd64 (0.7-3.1ubuntu1.2) ... Setting up libdrm-radeon1:amd64 (2.4.97-1ubuntu1~18.04.1) ... Setting up libavahi-glib1:amd64 (0.7-3.1ubuntu1.2) ... Setting up apt-config-icons (0.12.6-0elementary5.0.1) ... Setting up dbus (1.12.2-1ubuntu1.1) ... A reboot is required to replace the running dbus-daemon. Please reboot the system when convenient. Setting up libdrm-nouveau2:amd64 (2.4.97-1ubuntu1~18.04.1) ... Setting up libpython3.6:amd64 (3.6.8-1~18.04.1) ... Setting up binutils-x86-64-linux-gnu (2.30-21ubuntu1~18.04.2) ... Setting up libavahi-core7:amd64 (0.7-3.1ubuntu1.2) ... Setting up apt-config-icons-large (0.12.6-0elementary5.0.1) ... Setting up libpython3-stdlib:amd64 (3.6.7-1~18.04) ... Setting up libcairo2:amd64 (1.15.10-2ubuntu0.1) ... Setting up libpoppler-glib8:amd64 (0.62.0-2ubuntu2.9) ... Setting up libpam-systemd:amd64 (237-3ubuntu10.24) ... Setting up poppler-utils (0.62.0-2ubuntu2.9) ... Setting up libpulse-mainloop-glib0:amd64 (1:11.1-1ubuntu7.2) ... Setting up libmagickcore-6.q16-3:amd64 (8:6.9.7.4+dfsg-16ubuntu6.7) ... Setting up python3 (3.6.7-1~18.04) ... running python rtupdate hooks for python3.6... running python post-rtupdate hooks for python3.6... Setting up libpulsedsp:amd64 (1:11.1-1ubuntu7.2) ... Setting up gvfs-common (1.36.1-0ubuntu1.3.3) ... Setting up libdrm-amdgpu1:amd64 (2.4.97-1ubuntu1~18.04.1) ... Setting up plymouth-label (0.9.3-1ubuntu7.18.04.2) ... Setting up gstreamer1.0-pulseaudio:amd64 (1.14.4-1ubuntu1~ubuntu18.04.1) ... Setting up apt-config-icons-hidpi (0.12.6-0elementary5.0.1) ... Setting up pulseaudio-utils (1:11.1-1ubuntu7.2) ... Processing triggers for cracklib-runtime (2.9.2-5build1) ... Setting up policykit-1 (0.105-20ubuntu0.18.04.5) ... Setting up gvfs-bin (1.36.1-0ubuntu1.3.3) ... Setting up libcairo-gobject2:amd64 (1.15.10-2ubuntu0.1) ... Setting up libgbm1:amd64 (19.0.2-1ubuntu1.1~18.04.2) ... Setting up gnupg (2.2.4-1ubuntu1.2) ... Setting up libgl1-mesa-dri:amd64 (19.0.2-1ubuntu1.1~18.04.2) ... Setting up apache2-bin (2.4.29-1ubuntu4.8) ... Setting up dbus-x11 (1.12.2-1ubuntu1.1) ... Setting up python3-gi (3.26.1-2ubuntu1) ... Setting up python3-netifaces (0.10.4-0.1build4) ... Setting up dbus-user-session (1.12.2-1ubuntu1.1) ... Setting up libgssapi-krb5-2:amd64 (1.16-2ubuntu0.1) ... Setting up libcamel-1.2-61:amd64 (3.28.5-0ubuntu0.18.04.2) ... Setting up apt-config-icons-large-hidpi (0.12.6-0elementary5.0.1) ... Setting up gvfs-libs:amd64 (1.36.1-0ubuntu1.3.3) ... Setting up libmagickwand-6.q16-3:amd64 (8:6.9.7.4+dfsg-16ubuntu6.7) ... Setting up python3-gdbm:amd64 (3.6.8-1~18.04) ... Setting up libavahi-client3:amd64 (0.7-3.1ubuntu1.2) ... Setting up libegl-mesa0:amd64 (19.0.2-1ubuntu1.1~18.04.2) ... Setting up binutils (2.30-21ubuntu1~18.04.2) ... Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Setting up libdns1100:amd64 (1:9.11.3+dfsg-1ubuntu1.8) ... Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... Setting up networkd-dispatcher (1.7-0ubuntu3.3) ... Setting up packagekit (1.1.9-1ubuntu2.18.04.5) ... Setting up libglx-mesa0:amd64 (19.0.2-1ubuntu1.1~18.04.2) ... Setting up libcups2:amd64 (2.2.7-1ubuntu2.6) ... Setting up pulseaudio (1:11.1-1ubuntu7.2) ... Setting up ufw (0.36-0ubuntu0.18.04.1) ... Installing new version of config file /etc/default/ufw ... Replacing config file /etc/ufw/before.rules with new version Replacing config file /etc/ufw/before6.rules with new version Setting up gvfs-daemons (1.36.1-0ubuntu1.3.3) ... Setting up samba-libs:amd64 (2:4.7.6+dfsg~ubuntu-0ubuntu2.11) ... Setting up python3-apt (1.6.4+elementary6~ubuntu5.0.1) ... Setting up libedataserver-1.2-23:amd64 (3.28.5-0ubuntu0.18.04.2) ... Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.7) ... Setting up cups-ipp-utils (2.2.7-1ubuntu2.6) ... Setting up language-selector-common (0.188.3+elementary4~ubuntu5.0.1) ... Installing new version of config file /etc/fonts/conf.avail/64-language-selector-prefer.conf ... Installing new version of config file /etc/fonts/conf.avail/69-language-selector-ja.conf ... Installing new version of config file /etc/fonts/conf.avail/69-language-selector-zh-hk.conf ... Setting up gstreamer1.0-packagekit (1.1.9-1ubuntu2.18.04.5) ... Setting up libcurl4:amd64 (7.58.0-2ubuntu3.7) ... Setting up libcupsmime1:amd64 (2.2.7-1ubuntu2.6) ... Setting up libebackend-1.2-10:amd64 (3.28.5-0ubuntu0.18.04.2) ... Setting up cups-daemon (2.2.7-1ubuntu2.6) ... Setting up python3-gi-cairo (3.26.1-2ubuntu1) ... Setting up netplan.io (0.97-0ubuntu1~18.04.1) ... Setting up libgtk-3-0:amd64 (3.22.30-1ubuntu4) ... Setting up libebook-contacts-1.2-2:amd64 (3.28.5-0ubuntu0.18.04.2) ... Setting up libsmbclient:amd64 (2:4.7.6+dfsg~ubuntu-0ubuntu2.11) ... Setting up libcupsppdc1:amd64 (2.2.7-1ubuntu2.6) ... Setting up libcupsfilters1:amd64 (1.20.2-0ubuntu3.1) ... Setting up gvfs:amd64 (1.36.1-0ubuntu1.3.3) ... Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Setting up libisccfg160:amd64 (1:9.11.3+dfsg-1ubuntu1.8) ... Setting up libcupsimage2:amd64 (2.2.7-1ubuntu2.6) ... Setting up libegl1:amd64 (1.0.0-2ubuntu2.3) ... Setting up network-manager (1.10.6-2ubuntu1.1) ... Setting up ubuntu-drivers-common (1:0.5.2.3) ... Setting up pulseaudio-module-bluetooth (1:11.1-1ubuntu7.2) ... Setting up nplan (0.97-0ubuntu1~18.04.1) ... Setting up libnautilus-extension1a:amd64 (1:3.26.4-0~ubuntu18.04.4) ... Setting up cups-filters-core-drivers (1.20.2-0ubuntu3.1) ... Setting up libsane1:amd64 (1.0.27-1~experimental3ubuntu2.1) ... Setting up packagekit-tools (1.1.9-1ubuntu2.18.04.5) ... Setting up libedata-book-1.2-25:amd64 (3.28.5-0ubuntu0.18.04.2) ... Setting up ubuntu-minimal (1.417.2) ... Setting up libgnome-desktop-3-17:amd64 (3.28.2-0ubuntu1.5) ... Setting up libglx0:amd64 (1.0.0-2ubuntu2.3) ... Setting up libgs9:amd64 (9.26~dfsg+0-0ubuntu0.18.04.9) ... Setting up cups-client (2.2.7-1ubuntu2.6) ... Setting up sane-utils (1.0.27-1~experimental3ubuntu2.1) ... Setting up libcupscgi1:amd64 (2.2.7-1ubuntu2.6) ... Setting up libegl1-mesa:amd64 (19.0.2-1ubuntu1.1~18.04.2) ... Setting up libgranite5:amd64 (5.2.4+r1403+pkg108~ubuntu5.0.1) ... Setting up gvfs-backends (1.36.1-0ubuntu1.3.3) ... Setting up elementary-minimal (1.466+r530~daily~ubuntu5.0.1) ... Setting up libecal-1.2-19:amd64 (3.28.5-0ubuntu0.18.04.2) ... Setting up gir1.2-gtk-3.0:amd64 (3.22.30-1ubuntu4) ... Setting up cups-browsed (1.20.2-0ubuntu3.1) ... Setting up curl (7.58.0-2ubuntu3.7) ... Setting up libgweather-3-15:amd64 (3.28.2-1~ubuntu18.04.1) ... Setting up libirs160:amd64 (1:9.11.3+dfsg-1ubuntu1.8) ... Setting up gvfs-fuse (1.36.1-0ubuntu1.3.3) ... Setting up libbind9-160:amd64 (1:9.11.3+dfsg-1ubuntu1.8) ... Setting up libevdocument3-4:amd64 (3.28.4-0ubuntu1.2+elementary2~ubuntu5.0.1) ... Setting up cups-ppdc (2.2.7-1ubuntu2.6) ... Setting up ghostscript (9.26~dfsg+0-0ubuntu0.18.04.9) ... Setting up cups-core-drivers (2.2.7-1ubuntu2.6) ... Setting up network-manager-config-connectivity-ubuntu (1.10.6-2ubuntu1.1) ... Setting up cups-bsd (2.2.7-1ubuntu2.6) ... Setting up libedata-cal-1.2-28:amd64 (3.28.5-0ubuntu0.18.04.2) ... Setting up libevview3-3:amd64 (3.28.4-0ubuntu1.2+elementary2~ubuntu5.0.1) ... Setting up switchboard (2.3.6~r935+pkg64~ubuntu5.0.1) ... Setting up libebook-1.2-19:amd64 (3.28.5-0ubuntu0.18.04.2) ... Setting up libgl1:amd64 (1.0.0-2ubuntu2.3) ... Setting up ghostscript-x (9.26~dfsg+0-0ubuntu0.18.04.9) ... Setting up libnoise-core0 (5.0.4+r2721+pkg114~ubuntu5.0.1) ... Setting up browser-plugin-evince (3.28.4-0ubuntu1.2+elementary2~ubuntu5.0.1) ... Setting up evolution-data-server (3.28.5-0ubuntu0.18.04.2) ... Setting up bind9-host (1:9.11.3+dfsg-1ubuntu1.8) ... Setting up evince (3.28.4-0ubuntu1.2+elementary2~ubuntu5.0.1) ... Installing new version of config file /etc/apparmor.d/abstractions/evince ... Installing new version of config file /etc/apparmor.d/usr.bin.evince ... Setting up elementary-desktop (1.466+r530~daily~ubuntu5.0.1) ... Setting up libmutter-2-0:amd64 (3.28.4-0ubuntu18.04.1+elementary4~ubuntu5.0.1) ... Setting up cups-filters (1.20.2-0ubuntu3.1) ... Setting up libwebkit2gtk-4.0-37:amd64 (2.24.2-0ubuntu0.18.04.1) ... Setting up libwebkit2gtk-4.0-37-gtk2:amd64 (2.24.2-0ubuntu0.18.04.1) ... Setting up cups (2.2.7-1ubuntu2.6) ... Updating PPD files for cups ... Updating PPD files for cups-filters ... Updating PPD files for foomatic-db-compressed-ppds ... Updating PPD files for openprinting-ppds ... Updating PPD files for brlaser ... Updating PPD files for c2esp ... Updating PPD files for foo2zjs-common ... Updating PPD files for gutenprint ... Updating PPD files for hpcups ... Updating PPD files for m2300w ... Updating PPD files for postscript-hp ... Updating PPD files for ptouch ... Updating PPD files for pxljr ... Updating PPD files for sag-gdi ... Updating PPD files for splix ... Setting up dnsutils (1:9.11.3+dfsg-1ubuntu1.8) ... Setting up xserver-xorg-core (2:1.19.6-1ubuntu4.3) ... Setting up avahi-daemon (0.7-3.1ubuntu1.2) ... Setting up noise (5.0.4+r2721+pkg114~ubuntu5.0.1) ... Setting up libedataserverui-1.2-2:amd64 (3.28.5-0ubuntu0.18.04.2) ... Setting up capnet-assist (2.2.3+r319+pkg26~ubuntu5.0.1) ... Setting up elementary-standard (1.466+r530~daily~ubuntu5.0.1) ... Setting up libgeoclue-2-0:amd64 (2.4.7-1ubuntu1+elementary3~ubuntu5.0.1) ... Setting up liblvm2cmd2.02:amd64 (2.02.176-4.1ubuntu3.18.04.1) ... Setting up geoclue-2.0 (2.4.7-1ubuntu1+elementary3~ubuntu5.0.1) ... Installing new version of config file /etc/geoclue/geoclue.conf ... Setting up dmeventd (2:1.02.145-4.1ubuntu3.18.04.1) ... dm-event.service is a disabled or a static unit not running, not starting it. Setting up gnome-settings-daemon (3.28.1-0ubuntu1.3+elementary4~ubuntu5.0.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for initramfs-tools (0.130ubuntu3.8) ... update-initramfs: Generating /boot/initrd.img-4.15.0-55-generic Errors were encountered while processing: libplank-common libplank1:amd64 plank It seems they all depend on each other to be installed and I can't seem to figure out how to go about fixing it. The OS is Elementary OS Juno. |
Install TCP Proxy Server on Localhost in Linux Posted: 30 Mar 2022 03:02 AM PDT I Want I write a simple "TCP proxy server": it listens for TCP pockets on localhost, looks up packet IP destination, reads from it and sends reply. No I want to install it into my Linux system so all TCP packets go through this proxy. What I Tried - First, I start my proxy on
localhost:1111 - Then I try:
sudo iptables -t nat -A PREROUTING -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 1111 sudo iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 1111 - Proxy doesn't react (no logs of proxied pockets), sites work in browser.
- Then I try:
sudo iptables -t nat -A OUTPUT -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 1111 sudo iptables -t nat -A OUTPUT -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 1111 I get: INFO[0000] Starting proxy from="localhost:1111" hello world Connectoin from 127.0.0.1:1111 Connectoin to 192.168.1.90:48618 ERRO[0123] Error dialing remote host err="dial tcp 192.168.1.90:48618: getsockopt: connection refused" from="localhost:1111"
And the same error repeating many times. Sites don't load in a browser. 192.168.1.90 is wlp2s0 Source Codes Of The Proxy in Golang ~/go/src/github.com/ilyaigpetrov/proxy Based on: https://gist.github.com/ericflo/7dcf4179c315d8bd714c package proxy import ( "io" "net" "sync" "fmt" log "github.com/Sirupsen/logrus" ) type Proxy struct { from string done chan struct{} log *log.Entry } func NewProxy(from string) *Proxy { log.SetLevel(log.InfoLevel) return &Proxy{ from: from, done: make(chan struct{}), log: log.WithFields(log.Fields{ "from": from, }), } } func (p *Proxy) Start() error { p.log.Infoln("Starting proxy") listener, err := net.Listen("tcp", p.from) if err != nil { return err } go p.run(listener) return nil } func (p *Proxy) Stop() { p.log.Infoln("Stopping proxy") if p.done == nil { return } close(p.done) p.done = nil } func (p *Proxy) run(listener net.Listener) { for { select { case <-p.done: return default: connection, err := listener.Accept() fmt.Printf("Connectoin from %s\n", connection.LocalAddr().String()) fmt.Printf("Connectoin to %s\n", connection.RemoteAddr().String()) if err == nil { go p.handle(connection) } else { p.log.WithField("err", err).Errorln("Error accepting conn") } } } } func (p *Proxy) handle(connection net.Conn) { defer connection.Close() p.log.Debugln("Handling", connection) defer p.log.Debugln("Done handling", connection) remote, err := net.Dial("tcp", connection.RemoteAddr().String()) if err != nil { p.log.WithField("err", err).Errorln("Error dialing remote host") return } defer remote.Close() wg := &sync.WaitGroup{} wg.Add(2) go p.copy(remote, connection, wg) go p.copy(connection, remote, wg) wg.Wait() } func (p *Proxy) copy(from, to net.Conn, wg *sync.WaitGroup) { defer wg.Done() select { case <-p.done: return default: if _, err := io.Copy(to, from); err != nil { p.log.WithField("err", err).Errorln("Error from copy") p.Stop() return } } } ~/go/src/github.com/ilyaigpetrov/proxy-main package main import ( "fmt" "github.com/ilyaigpetrov/proxy" ) func main() { proxy.NewProxy("localhost:1111").Start() fmt.Println("hello world") select{} } |
Can't mount device Posted: 30 Mar 2022 12:00 AM PDT I can't mount my e-reader. Here's what I tried: I connected my e-reader to the computer via usb. dmesg tells me the OS (debian 9) recognized the device and assigned /dev/sdb and /dev/sdc to it: usb 1-6: new high-speed USB device number 6 using ehci-pci [ 2023.922301] usb 1-6: New USB device found, idVendor=15a2, idProduct=0c01 [ 2023.922306] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2023.922309] usb 1-6: Product: 623 [ 2023.922312] usb 1-6: Manufacturer: Papyre [ 2023.922315] usb 1-6: SerialNumber: 0123456789ABCDEF [ 2023.930149] usb-storage 1-6:1.0: USB Mass Storage device detected [ 2023.930323] scsi host4: usb-storage 1-6:1.0 [ 2024.961442] scsi 4:0:0:0: Direct-Access Papyre 623 0100 PQ: 0 ANSI: 2 [ 2024.963410] scsi 4:0:0:1: Direct-Access Papyre 623 0100 PQ: 0 ANSI: 2 [ 2024.964818] sd 4:0:0:0: Attached scsi generic sg2 type 0 [ 2024.966505] sd 4:0:0:1: Attached scsi generic sg3 type 0 [ 2025.001429] sd 4:0:0:0: [sdb] Attached SCSI removable disk [ 2025.035684] sd 4:0:0:1: [sdc] Attached SCSI removable disk I tried to mount /dev/sdb with mount /dev/sdb /media/ereader getting this error: mount: no se ha encontrado ningún medio en /dev/sdb Which roughly translates to: mount: no medium found in /dev/sdb I also tried with the -t vfat option, and repeated the process with /dev/sdc, with the same result. In case you ask, here's the output of sg_map : /dev/sg2 /dev/sdb /dev/sg3 /dev/sdc And fdisk -l /dev/sdb (my own translation): fdisk: can't open /dev/sdb: Medium not found Output from lsblk -f : NAME FSTYPE LABEL UUID MOUNTPOINT fd0 sda ├─sda1 ext4 8110f71a-b0eb-4968-bdf2-2c398a4e056c / ├─sda2 ext4 09be5f99-740b-4892-8607-a87d27953110 ├─sda3 ext4 linux_archivos 16a84f16-bca0-42e6-810e-34851fbcb0a1 /media/linux_archivos └─sda4 swap ea2997b9-6401-424b-a5ea-487f6996c56f [SWAP] sr0 Output from file /dev/sdb : /dev/sdb: block special (8/16) Output from file /dev/sdc : /dev/sdc: block special (8/32) Output from file -s /dev/sdb : /dev/sdb: writable, no read permission Output from file -s /dev/sdc : /dev/sdc: writable, no read permission |
Set persistent environment variable for all users Posted: 29 Mar 2022 11:33 PM PDT I am running Ubuntu on a local PC with the following linux distro/kernel: $ lsb_release -a >> ubuntu 16.04.3 LTS $ uname -r >> 4.10.0-33-generic I have a python (3.5) script which calls environment variables via the os package. For the sake of simplicity, let's use the following script, test_script.py: import os MY_VAR = os.environ['MY_VAR'] print(MY_VAR) When I run this script from terminal: $ python test_script.py >> File "test-script.py", line 3, in <module> >> MY_VAR = os.environ['MY_VAR'] >> File "/home/USER/anaconda3/lib/python3.6/os.py", line 669, in __getitem__ >> raise KeyError(key) from None >> KeyError: 'MY_VAR' ATTEMPT 1 Reference: [1][4] $ MY_VAR=123 $ export MY_VAR $ echo $MY_VAR >> 123 $ python test_script.py >> 123 Success! ... until I close terminal and reopen terminal. When I do that: $ python test_script.py >> File "test-script.py", line 3, in <module> >> MY_VAR = os.environ['MY_VAR'] >> File "/home/USER/anaconda3/lib/python3.6/os.py", line 669, in __getitem__ >> raise KeyError(key) from None >> KeyError: 'MY_VAR' ATTEMPT 2 Reference: [2] To the end of /home/USER/.profile , I add the following lines: # my variable MYVAR=123 Save. Confirm saved. $ python test_script.py >> File "test-script.py", line 3, in <module> >> MY_VAR = os.environ['MY_VAR'] >> File "/home/USER/anaconda3/lib/python3.6/os.py", line 669, in __getitem__ >> raise KeyError(key) from None >> KeyError: 'MY_VAR' ATTEMPT 3 Reference: [2] To the end of /etc/profile , I add the following lines: # my variable MYVAR=123 Save. Confirm saved. $ python test_script.py >> File "test-script.py", line 3, in <module> >> MY_VAR = os.environ['MY_VAR'] >> File "/home/USER/anaconda3/lib/python3.6/os.py", line 669, in __getitem__ >> raise KeyError(key) from None >> KeyError: 'MY_VAR' ATTEMPT 4 Reference: [2] Create myvar.sh in /etc/profile.d/ Add the following line: MYVAR=123 Save. Confirm saved. $ python test_script.py >> File "test-script.py", line 3, in <module> >> MY_VAR = os.environ['MY_VAR'] >> File "/home/USER/anaconda3/lib/python3.6/os.py", line 669, in __getitem__ >> raise KeyError(key) from None >> KeyError: 'MY_VAR' ATTEMPT 5 Reference: [2][3] To the end of /etc/environment , I add the following line: MYVAR=123 Save. Confirm saved. $ python test_script.py >> File "test-script.py", line 3, in <module> >> MY_VAR = os.environ['MY_VAR'] >> File "/home/USER/anaconda3/lib/python3.6/os.py", line 669, in __getitem__ >> raise KeyError(key) from None >> KeyError: 'MY_VAR' Please help! I don't understand what I'm doing wrong here. - How to set environment variables permanently for one user
- Permanent Environment Variable for all users
- How to permanently set environmental variables
- How do I set a user environment variable? (permanently, not session)
|
Extracting IP from IP.port Posted: 30 Mar 2022 03:14 AM PDT I've done a lot of digging but haven't found an answer to my problem. Currently, I have the following command: # netstat | grep telnet | grep ESTABLISHED | awk 'NR==1{ print $5}' Which returns something like: 192.168.15.73.64759 From this, I want to get just the IP without the port. So, 192.168.15.73 The system I'm doing this on is running an embedded unix variant and does not support -o as an option to grep. The system suppors sed which is likely the best route but I'm not familiar with that application at all. Can anyone tell me what I could add to get the output I'm looking for? |
ERROR: device '' not found. Skipping fsck (can't boot) Posted: 29 Mar 2022 11:00 PM PDT I have a Manjaro Linux installation and after a pacman - syu update (potentially updating the kernel) , and restarting my computer, I get the following error message after grub: [ 4.896409] Initramfs unpacking failed: read error :: running early hook [udev] :: running early hook [lvm2] :: running hook [udev] :: Triggering uevents... :: running hook [plymouth] :: Loading plymouth... done :: running hook [plymouth-encrypt] :: running hook [resume] ERROR: resume: no device specified for hibernation ERROR: device '' not found. Skipping fsck :: mounting '' on real root You are now being dropped into an emergency shell. sh: can't access tty; job control turned off [rootfs ] # At the shell, if I type, no letters are appearing on the screen, leading me to believe it is not registering keyboard input. Also note that my hard drive is encrypted. At grub, I have the option for Manjaro Linux kernel 4.9.34-1 x64 and 4.9.33-1-rt23 x64 (and respective fallback initramfs) which I have tried. If there is any more information that I can provide, I am willing to. |
Loop through file to obtain bash script variable Posted: 29 Mar 2022 11:44 PM PDT I'm working on a script to check the status of several remote MYSQL hosts by logging into the every server and recording whether the login has been successful or not. The idea is to store the login details for the MYSQL hosts in a CSV file and get the script to loop through this file, login and record if login has been successfull. The MYSQL Login data stored in the CSV file would the following: $host,$user,$password Being a novice at bash scripting, I'm having trouble understanding on how it's best to approach the part where the script loops through a CSV to obtain MYSQL details. Can anyone help? Currently I tested the below for individual MYSQL Hosts mysql -h$host -=$user -p$pass -d$db -e exit if [ "$?" -eq "0" ] then echo "Connection established" else echo "Connection not established" fi Thanks in advance. |
Why my rsync slow down over time? Posted: 30 Mar 2022 12:06 AM PDT I'm trying to backup some files from my PC to an external hard-drive using rsync. The copy works fine but takes a lot of time even for the standard USB 2.0. For an USB 2.0 the real transfer speed should be round 30MB/s, in my test the speed reach sometimes 2MB/s. The pen-drive I'm using is a good 32GB USB3.0 with FAT32 fs. Note: before each test I erased the whole content of the pen-drive and I also tried on different USB port. Part of the script I'm using is as follow: mkdir /media/eusbd0 mount -t vfat -o shortname=mixed,iocharset=utf8 /dev/sdb1 /media/eusbd0 # copy only data between date1 to date2 for dir in $(find /home/records -type d -newermt "2016-08-04" ! -newermt "2016-08-18" 2>&1); do if [ "/home/records" != "$dir" ]; then # skip parent dir rsync -ravP --inplace --modify-window=2 --log-file=/var/log/download_records "$dir" /media/eusbd0 > /var/log/rsync_report.txt fi done #sync umount -l /media/eusbd0 Here is part of the output of rsync: sending incremental file list 2016-08-11/ 2016-08-11/gps_00000 44,179 100% 10.88MB/s 0:00:00 (xfr#1, to-chk=34/36) 2016-08-11/log 106,792 100% 101.84MB/s 0:00:00 (xfr#2, to-chk=33/36) 2016-08-11/log_cam0 5,532 100% 5.28MB/s 0:00:00 (xfr#3, to-chk=32/36) 2016-08-11/rec_2016-08-11.13_57_22.mov 3,513,782 100% 108.10MB/s 0:00:00 (xfr#4, to-chk=31/36) 2016-08-11/rec_2016-08-11.13_59_00.mov 4,281,177 100% 63.79MB/s 0:00:00 (xfr#5, to-chk=30/36) 2016-08-11/rec_2016-08-11.14_02_09.mov 3,359,207 100% 36.82MB/s 0:00:00 (xfr#6, to-chk=29/36) 2016-08-11/rec_2016-08-11.14_04_16.mov 1,877,863 100% 17.91MB/s 0:00:00 (xfr#7, to-chk=28/36) 2016-08-11/rec_2016-08-11.14_05_42.mov ........ 50,482,791 100% 114.90MB/s 0:00:00 (xfr#20, to-chk=15/36) 2016-08-11/rec_2016-08-11.15_14_53.mov 19,291,527 100% 34.52MB/s 0:00:00 (xfr#21, to-chk=14/36) 2016-08-11/rec_2016-08-11.15_18_42.mov 50,700,461 100% 58.68MB/s 0:00:00 (xfr#22, to-chk=13/36) 2016-08-11/rec_2016-08-11.15_20_20.mov ....... sent 802,030,914 bytes received 685 bytes 94,356,658.71 bytes/sec total size is 801,832,718 speedup is 1.00 tail: /var/log/rsync_report.txt: file truncated sending incremental file list 2016-08-16/ 2016-08-16/log 41,966 100% 8.77MB/s 0:00:00 (xfr#1, to-chk=16/18) 2016-08-16/obd_00000 46,798 100% 44.63MB/s 0:00:00 (xfr#2, to-chk=15/18) 2016-08-16/rec_2016-08-16.16_24_12.mov 50,649,317 100% 18.64MB/s 0:00:02 (xfr#3, to-chk=14/18) 2016-08-16/rec_2016-08-16.16_25_50.mov 25,602,242 100% 7.78MB/s 0:00:03 (xfr#4, to-chk=13/18) 2016-08-16/rec_2016-08-16.16_57_42.mov 50,496,580 100% 15.18MB/s 0:00:03 (xfr#5, to-chk=12/18) 2016-08-16/rec_2016-08-16.16_59_20.mov 50,617,906 100% 13.29MB/s 0:00:03 (xfr#6, to-chk=11/18) 2016-08-16/rec_2016-08-16.17_00_58.mov 50,759,115 100% 10.16MB/s 0:00:04 (xfr#7, to-chk=10/18) 2016-08-16/rec_2016-08-16.17_02_36.mov 50,883,325 100% 6.81MB/s 0:00:07 (xfr#8, to-chk=9/18) 2016-08-16/rec_2016-08-16.17_04_14.mov 47,995,074 100% 4.41MB/s 0:00:10 (xfr#9, to-chk=8/18) 2016-08-16/rec_2016-08-16.17_09_44.mov 50,813,636 100% 2.35MB/s 0:00:20 (xfr#10, to-chk=7/18) 2016-08-16/rec_2016-08-16.17_11_22.mov 50,953,015 100% 2.52MB/s 0:00:19 (xfr#11, to-chk=6/18) 2016-08-16/rec_2016-08-16.17_13_00.mov 50,221,069 100% 2.93MB/s 0:00:16 (xfr#12, to-chk=5/18) 2016-08-16/rec_2016-08-16.17_14_38.mov 50,445,757 100% 2.87MB/s 0:00:16 (xfr#13, to-chk=4/18) 2016-08-16/rec_2016-08-16.17_16_16.mov 51,036,959 100% 3.16MB/s 0:00:15 (xfr#14, to-chk=3/18) 2016-08-16/rec_2016-08-16.17_17_54.mov 51,056,196 100% 3.19MB/s 0:00:15 (xfr#15, to-chk=2/18) 2016-08-16/rec_2016-08-16.17_19_32.mov 50,434,922 100% 3.12MB/s 0:00:15 (xfr#16, to-chk=1/18) 2016-08-16/rec_2016-08-16.17_21_10.mov 19,456,000 100% 2.71MB/s 0:00:06 (xfr#17, to-chk=0/18) sent 701,682,372 bytes received 343 bytes 4,512,429.04 bytes/sec total size is 701,509,877 speedup is 1.00 What can be noted in the output is that at the beginning the speed is quiet high whereas at the end it gets slower and slower. Why is this happening? The file I'm copying are pretty much the same (except the size that may vary a bit) and the amount of them is quiet low, less than 100 files. I also tried with other pen-drives but I got the same result. Thanks! NEW EXPERIMENT: I tried cpio instead of rsync to copy the same files. The modified script: mkdir /media/eusbd0 mount -t vfat -o shortname=mixed,iocharset=utf8 /dev/sdb1 /media/eusbd0 # copy only data between date1 to date2 for dir in $(find /home/records -type d -newermt "2016-08-04" ! -newermt "2016-08-18" 2>&1); do if [ "/home/records" != "$dir" ]; then # skip parent dir find "$dir" -print | cpio -pdm /media/eusbd0 > /var/log/rsync_report.txt fi done #sync umount -l /media/eusbd0 The amount of data to copy is around 3GB and the time required with cpio is 900 seconds which translates to an average transfer speed of 3-4 MB/s. It seems that the problem concerns the hardware or the drives since also rsync speed is close to that value. UPDATE I tried with other 3 pen-drive formatted in FAT32 but I got the same behavior. Then I tried the NTFS fs and I got a good result of >30MB/s but unfortunately only on one of the 4 USB sticks in my possession. Other experiment with external HDD and SSD have shown also some reasonably good results >20MB/s. To sum up, my motherboard (or drivers) probably do not like USB sticks nor FAT32 fs. External hard drives (powered or not) work as expected at least in NTFS. And, I have no clues why this happen. |
How to reduce title bar size? Posted: 30 Mar 2022 02:06 AM PDT I need to reduce the size of the title bar on all Gnome applications on an Ubuntu 14.04 Gnome 3.10/3.14 installation. The recommendation of adding configuration to ~/.config/gtk-3.0/gtk.css did not work. |
No GTK settings in Opensuse 13.2, KDE Plasma 5 Posted: 30 Mar 2022 01:05 AM PDT I remember that in KDE 4 (at least in Kubuntu) and also in other KDE 5 environments I tested, there were some appearance settings for GTK applications. I have installed Opensuse 13.2 with Xfce desktop and then added KDE5. I see no GTK options under settings. . |
No comments:
Post a Comment