Wednesday, 15 July 2026

Linux Operating System UBUNTU _ FileZilla Client Setup HOW-TO

 

To transfer files from a Linux machine(for example a Linux UBUNTU machine) to a Windows machine(for example a Windows 10 Desktop) and vice versa, using a  Local Area Network , i prefer to install FileZilla Client Software on my Linux machine(for example a Linux UBUNTU machine) and then use the Linux machine(for example a Linux UBUNTU machine) to connect to the Windows machine(for example a Windows 10 Desktop) which has been    installed/configured    with a FileZilla  Server  Software .  Then proceed with the file transfer as usual.   



FileZilla is a graphical FTP, SFTP, and FTPS client available on Ubuntu through multiple installation methods. You can install it from the default repository, via the XtraDeb PPA for newer APT builds, or as a Flatpak for a sandboxed latest version.

Method 1: Install from Ubuntu Default Repository

  1. Open the terminal with Ctrl + Alt + T.

  2. Update package lists with sudo apt update.

  3. Install FileZilla using sudo apt install filezilla -y.

  4. Verify installation by running filezilla --version.

Method 2: Install from XtraDeb PPA (Ubuntu 24.04 only)

  1. Open the terminal.

  2. Install PPA management tools: sudo apt install software-properties-common -y.

  3. Add the PPA: sudo add-apt-repository ppa:xtradeb/apps -y.

  4. Update package lists with sudo apt update.

  5. Install FileZilla: sudo apt install filezilla -y.

  6. Verify installation with filezilla --version.

Method 3: Install via Flatpak (All Ubuntu LTS versions)

  1. Ensure Flatpak is installed: sudo apt install flatpak -y.

  2. Add Flathub repository: sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo.

  3. Install FileZilla: sudo flatpak install flathub org.filezillaproject.Filezilla -y.

  4. Verify installation: flatpak run org.filezillaproject.Filezilla --version.

Launching FileZilla

  1. From terminal (APT): run filezilla.

  2. From terminal (Flatpak): run flatpak run org.filezillaproject.Filezilla.

  3. Or open Activities, search for FileZilla, and click the icon.

Connecting to a Remote Server

  1. For quick connections, fill Host, Username, Password, and Port in the Quickconnect bar.

  2. For saved profiles, open File → Site Manager, click New Site, and configure protocol, login type, and directories.

     

     

     

     

     

     

     root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# apt update
    Hit:1 http://my.archive.ubuntu.com/ubuntu resolute InRelease
    Hit:2 http://my.archive.ubuntu.com/ubuntu resolute-updates InRelease
    Hit:3 http://my.archive.ubuntu.com/ubuntu resolute-backports InRelease     
    Hit:4 http://security.ubuntu.com/ubuntu resolute-security InRelease        
    105 packages can be upgraded. Run 'apt list --upgradable' to see them.
    root@norizan-GP70-2PE:/home/norizan# apt install filezilla -y
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    ^Ziting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)... 46s
    [1]+  Stopped                    apt install filezilla -y
    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# apt install flatpak -y
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)      
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)       
    ^Ziting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)... 15s
    [2]+  Stopped                    apt install flatpak -y
    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# ifconfig
    Command 'ifconfig' not found, but can be installed with:
    apt install net-tools
    root@norizan-GP70-2PE:/home/norizan# apt-get install net-tools
    E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)
    N: Be aware that removing the lock file is not a solution and may break your system.
    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?


    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# ls -alh
    total 72K
    drwxr-x--- 15 norizan norizan 4.0K Jun 24 16:14 .
    drwxr-xr-x  3 root    root    4.0K Jun 24 15:50 ..
    -rw-r--r--  1 norizan norizan  220 Feb 13 20:16 .bash_logout
    -rw-r--r--  1 norizan norizan 3.7K Feb 13 20:16 .bashrc
    drwx------ 14 norizan norizan 4.0K Jul 16 12:36 .cache
    drwx------ 14 norizan norizan 4.0K Jul 16 12:36 .config
    drwx------  4 norizan norizan 4.0K Jun 24 16:14 .local
    -rw-r--r--  1 norizan norizan  807 Feb 13 20:16 .profile
    drwx------  2 norizan norizan 4.0K Jun 24 16:14 .ssh
    drwxr-xr-x  2 norizan norizan 4.0K Jun 24 16:14 Desktop
    drwxr-xr-x  2 norizan norizan 4.0K Jun 24 16:14 Documents
    drwxr-xr-x  2 norizan norizan 4.0K Jul 16 12:42 Downloads
    drwxr-xr-x  2 norizan norizan 4.0K Jun 24 16:14 Music
    drwxr-xr-x  2 norizan norizan 4.0K Jun 24 16:14 Pictures
    drwxr-xr-x  2 norizan norizan 4.0K Jun 24 16:14 Public
    drwxr-xr-x  2 norizan norizan 4.0K Jun 24 16:14 Templates
    drwxr-xr-x  2 norizan norizan 4.0K Jun 24 16:14 Videos
    drwx------  6 norizan norizan 4.0K Apr 16 03:00 snap
    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# chmod 777 Downloads
    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# 
    root@norizan-GP70-2PE:/home/norizan# ls -alh
    total 72K
    drwxr-x--- 15 norizan norizan 4.0K Jun 24 16:14 .
    drwxr-xr-x  3 root    root    4.0K Jun 24 15:50 ..
    -rw-r--r--  1 norizan norizan  220 Feb 13 20:16 .bash_logout
    -rw-r--r--  1 norizan norizan 3.7K Feb 13 20:16 .bashrc
    drwx------ 14 norizan norizan 4.0K Jul 16 12:36 .cache
    drwx------ 14 norizan norizan 4.0K Jul 16 12:36 .config
    drwx------  4 norizan norizan 4.0K Jun 24 16:14 .local
    -rw-r--r--  1 norizan norizan  807 Feb 13 20:16 .profile
    drwx------  2 norizan norizan 4.0K Jun 24 16:14 .ssh
    drwxr-xr-x  2 norizan norizan 4.0K Jun 24 16:14 Desktop
    drwxr-xr-x  2 norizan norizan 4.0K Jun 24 16:14 Documents
    drwxrwxrwx  2 norizan norizan 4.0K Jul 16 12:42 Downloads
    drwxr-xr-x  2 norizan norizan 4.0K Jun 24 16:14 Music
    drwxr-xr-x  2 norizan norizan 4.0K Jun 24 16:14 Pictures
    drwxr-xr-x  2 norizan norizan 4.0K Jun 24 16:14 Public
    drwxr-xr-x  2 norizan norizan 4.0K Jun 24 16:14 Templates
    drwxr-xr-x  2 norizan norizan 4.0K Jun 24 16:14 Videos
    drwx------  6 norizan norizan 4.0K Apr 16 03:00 snap
    root@norizan-GP70-2PE:/home/norizan# cd Downloads
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# ls -alh
    total 179M
    drwxrwxrwx  2 norizan norizan 4.0K Jul 16 12:42 .
    drwxr-x--- 15 norizan norizan 4.0K Jun 24 16:14 ..
    -rw-rw-r--  1 norizan norizan 179M Jul 16 12:42 microsoft-edge-stable_150.0.4078.65-1_amd64.deb
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# dpkg -i microsoft-edge-stable_150.0.4078.65-1_amd64.deb
    dpkg: error: dpkg frontend lock was locked by /usr/bin/python3.14 (deleted) process with pid 5404
    Note: removing the lock file is always wrong, can damage the locked area
    and the entire system. See <https://wiki.debian.org/Teams/Dpkg/FAQ#db-lock>.
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    ____________________________________ 

    root@norizan-GP70-2PE:/home/norizan/Downloads# sudo systemctl stop unattended-upgrades

    ____________________________________
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads#
     
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# apt update
    Hit:1 http://my.archive.ubuntu.com/ubuntu resolute InRelease
    Hit:2 http://my.archive.ubuntu.com/ubuntu resolute-updates InRelease
    Hit:3 http://my.archive.ubuntu.com/ubuntu resolute-backports InRelease     
    Hit:4 http://security.ubuntu.com/ubuntu resolute-security InRelease        
    76 packages can be upgraded. Run 'apt list --upgradable' to see them.
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# apt-get install net-tools
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Solving dependencies... Done
    The following NEW packages will be installed:
      net-tools
    0 upgraded, 1 newly installed, 0 to remove and 76 not upgraded.
    Need to get 151 kB of archives.
    After this operation, 680 kB of additional disk space will be used.
    Get:1 http://my.archive.ubuntu.com/ubuntu resolute/main amd64 net-tools amd64 2.10-2ubuntu1 [151 kB]
    Fetched 151 kB in 0s (590 kB/s)   
    Selecting previously unselected package net-tools.
    (Reading database… 194962 files and directories currently installed.)
    Preparing to unpack …/net-tools_2.10-2ubuntu1_amd64.deb…
    Unpacking net-tools (2.10-2ubuntu1)…
    Setting up net-tools (2.10-2ubuntu1)…
    Processing triggers for man-db (2.13.1-1build1)…
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# apt install filezilla -y
    Installing:                     
      filezilla

    Installing dependencies:
      filezilla-common     libfilezilla53  libsdl2-2.0-0    libwxbase3.2-1t64  libxss1
      libfilezilla-common  libpugixml1v5   libsdl2-classic  libwxgtk3.2-1t64

    Summary:
      Upgrading: 0, Installing: 10, Removing: 0, Not Upgrading: 76
      Download size: 11.3 MB
      Space needed: 42.2 MB / 132 GB available

    Get:1 http://my.archive.ubuntu.com/ubuntu resolute/universe amd64 filezilla-common all 3.69.6-1 [2,403 kB]
    Get:2 http://my.archive.ubuntu.com/ubuntu resolute/universe amd64 libfilezilla-common all 0.54.1-1 [80.4 kB]
    Get:3 http://my.archive.ubuntu.com/ubuntu resolute/universe amd64 libfilezilla53 amd64 0.54.1-1 [335 kB]
    Get:4 http://my.archive.ubuntu.com/ubuntu resolute/universe amd64 libpugixml1v5 amd64 1.14-2build1 [96.4 kB]
    Get:5 http://my.archive.ubuntu.com/ubuntu resolute/universe amd64 libwxbase3.2-1t64 amd64 3.2.9+dfsg-1 [931 kB]
    Get:6 http://my.archive.ubuntu.com/ubuntu resolute/main amd64 libxss1 amd64 1:1.2.3-1build4 [7,084 B]
    Get:7 http://my.archive.ubuntu.com/ubuntu resolute/main amd64 libsdl2-classic amd64 2.32.10+dfsg-6 [710 kB]
    Get:8 http://my.archive.ubuntu.com/ubuntu resolute/main amd64 libsdl2-2.0-0 amd64 2.32.10+dfsg-6 [14.0 kB]
    Get:9 http://my.archive.ubuntu.com/ubuntu resolute/universe amd64 libwxgtk3.2-1t64 amd64 3.2.9+dfsg-1 [4,703 kB]
    Get:10 http://my.archive.ubuntu.com/ubuntu resolute/universe amd64 filezilla amd64 3.69.6-1 [2,024 kB]
    Fetched 11.3 MB in 2s (6,254 kB/s)    
    Selecting previously unselected package filezilla-common.
    (Reading database… 194990 files and directories currently installed.)
    Preparing to unpack …/0-filezilla-common_3.69.6-1_all.deb…
    Unpacking filezilla-common (3.69.6-1)…
    Selecting previously unselected package libfilezilla-common.
    Preparing to unpack …/1-libfilezilla-common_0.54.1-1_all.deb…
    Unpacking libfilezilla-common (0.54.1-1)…
    Selecting previously unselected package libfilezilla53:amd64.
    Preparing to unpack …/2-libfilezilla53_0.54.1-1_amd64.deb…
    Unpacking libfilezilla53:amd64 (0.54.1-1)…
    Selecting previously unselected package libpugixml1v5:amd64.
    Preparing to unpack …/3-libpugixml1v5_1.14-2build1_amd64.deb…
    Unpacking libpugixml1v5:amd64 (1.14-2build1)…
    Selecting previously unselected package libwxbase3.2-1t64:amd64.
    Preparing to unpack …/4-libwxbase3.2-1t64_3.2.9+dfsg-1_amd64.deb…
    Unpacking libwxbase3.2-1t64:amd64 (3.2.9+dfsg-1)…
    Selecting previously unselected package libxss1:amd64.
    Preparing to unpack …/5-libxss1_1%3a1.2.3-1build4_amd64.deb…
    Unpacking libxss1:amd64 (1:1.2.3-1build4)…
    Selecting previously unselected package libsdl2-classic:amd64.
    Preparing to unpack …/6-libsdl2-classic_2.32.10+dfsg-6_amd64.deb…
    Unpacking libsdl2-classic:amd64 (2.32.10+dfsg-6)…
    Selecting previously unselected package libsdl2-2.0-0:amd64.
    Preparing to unpack …/7-libsdl2-2.0-0_2.32.10+dfsg-6_amd64.deb…
    Unpacking libsdl2-2.0-0:amd64 (2.32.10+dfsg-6)…
    Selecting previously unselected package libwxgtk3.2-1t64:amd64.
    Preparing to unpack …/8-libwxgtk3.2-1t64_3.2.9+dfsg-1_amd64.deb…
    Unpacking libwxgtk3.2-1t64:amd64 (3.2.9+dfsg-1)…
    Selecting previously unselected package filezilla.
    Preparing to unpack …/9-filezilla_3.69.6-1_amd64.deb…
    Unpacking filezilla (3.69.6-1)…
    Setting up libfilezilla-common (0.54.1-1)…
    Setting up libpugixml1v5:amd64 (1.14-2build1)…
    Setting up libfilezilla53:amd64 (0.54.1-1)…
    Setting up filezilla-common (3.69.6-1)…
    Setting up libxss1:amd64 (1:1.2.3-1build4)…
    Setting up libwxbase3.2-1t64:amd64 (3.2.9+dfsg-1)…
    Setting up libsdl2-classic:amd64 (2.32.10+dfsg-6)…
    Setting up libsdl2-2.0-0:amd64 (2.32.10+dfsg-6)…
    Setting up libwxgtk3.2-1t64:amd64 (3.2.9+dfsg-1)…
    Setting up filezilla (3.69.6-1)…
    Processing triggers for hicolor-icon-theme (0.18-2build1)…
    Processing triggers for gnome-menus (3.38.1-1ubuntu1)…
    Processing triggers for libc-bin (2.43-2ubuntu2)…
    Processing triggers for man-db (2.13.1-1build1)…
    Processing triggers for desktop-file-utils (0.28-1build1)…
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# ls -alh
    total 179M
    drwxrwxrwx  2 norizan norizan 4.0K Jul 16 12:42 .
    drwxr-x--- 15 norizan norizan 4.0K Jun 24 16:14 ..
    -rw-rw-r--  1 norizan norizan 179M Jul 16 12:42 microsoft-edge-stable_150.0.4078.65-1_amd64.deb
    root@norizan-GP70-2PE:/home/norizan/Downloads# dpkg -i microsoft-edge-stable_150.0.4078.65-1_amd64.deb
    Selecting previously unselected package microsoft-edge-stable.
    (Reading database… 195972 files and directories currently installed.)
    Preparing to unpack microsoft-edge-stable_150.0.4078.65-1_amd64.deb…
    Unpacking microsoft-edge-stable (150.0.4078.65-1)…
    Setting up microsoft-edge-stable (150.0.4078.65-1)…
    update-alternatives: using /usr/bin/microsoft-edge-stable to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
    update-alternatives: using /usr/bin/microsoft-edge-stable to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
    update-alternatives: using /usr/bin/microsoft-edge-stable to provide /usr/bin/microsoft-edge (microsoft-edge) in auto mode
    Processing triggers for gnome-menus (3.38.1-1ubuntu1)…
    Processing triggers for desktop-file-utils (0.28-1build1)…
    Processing triggers for man-db (2.13.1-1build1)…
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 
    root@norizan-GP70-2PE:/home/norizan/Downloads# 

    Hi Copilot , when i try to update my UBUNTU Desktop ........ i got the message something like this " Hit:1 http://my.archive.ubuntu.com/ubuntu resolute InRelease Hit:2 http://my.archive.ubuntu.com/ubuntu resolute-updates InRelease Hit:3 http://my.archive.ubuntu.com/ubuntu resolute-backports InRelease
    Hit:4 http://security.ubuntu.com/ubuntu resolute-security InRelease
    105 packages can be upgraded. Run 'apt list --upgradable' to see them. root@norizan-GP70-2PE:/home/norizan# apt install filezilla -y Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upgr)
    Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5404 (unattended-upg " .......... Copilot , do you think you could help me with this problem ? THANKS Copilot.

    MICROSOFT Copilot Answer

     

     

     

    Ah, I see exactly what’s happening here, Norizan. That message about Could not get lock /var/lib/dpkg/lock-frontend means your Ubuntu system is already busy running another package management process — in this case, unattended-upgr, which is the automatic update service. When that’s active, your manual apt install command has to wait because only one process can use the package manager at a time.

    Here’s how you can handle it step by step:

    🛠 Fixing the Cache Lock Issue

    • Wait for unattended-upgrades The safest option is simply to wait a few minutes until the automatic update finishes. Then rerun your apt install filezilla -y.

    • Check running processes Run:

      bash
      ps aux | grep apt
      

      This shows if apt or dpkg is still running. If you see unattended-upgr, let it finish.

      ______________________________________________ 

    • Stop unattended-upgrades temporarily If you don’t want to wait, you can stop the service:

      bash
      sudo systemctl stop unattended-upgrades
      ___________________________________________ 

      Then retry your install. (But remember to re-enable it later with sudo systemctl start unattended-upgrades so your system stays secure.)

    • Remove lock file manually As a last resort (only if you’re sure no upgrade is running), you can remove the lock:

      bash
      sudo rm /var/lib/dpkg/lock-frontend
      sudo dpkg --configure -a
      

      This forces the package manager back into a usable state. Be cautious — interrupting upgrades can sometimes leave packages half-installed.

    ⚠️ Important: Don’t rush to delete the lock unless you’re certain the process is stuck. Usually, waiting a few minutes is the safest fix.

    Would you like me to walk you through how to verify if unattended-upgrades is stuck so you’ll know whether to wait or intervene?

No comments:

Post a Comment