I have download the QQ2012’s deb in downlaod files, but when I install the deb, system tell me:
$ sudo dpkg -i wineqq2012-20120719-longene.deb
[sudo] password for collins:
dpkg: error processing wineqq2012-20120719-longene.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
wineqq2012-20120719-longene.deb
![]()
abu_bua
10.4k10 gold badges42 silver badges62 bronze badges
asked Dec 22, 2012 at 8:17
1
The error message No such file or directory means that the .deb file does not exist, or does not exist in the current directory.
The ~ between : and $ in the prompt represents the current working directory. ~ (when the next character is a / or, as in this case, nothing at all) is shorthand for your home directory, /home/collins.
You said you downloaded the .deb file «in download files.» Assuming this means you downloaded it to your Downloads folder, that means it’s located in /home/collins/Downloads rather than /home/collins.
So you should be able to install it by running this command:
sudo dpkg -i ~/Downloads/wineqq2012-20120719-longene.deb
If that doesn’t work, try typing
sudo dpkg -i
without pressing Enter. Add a space to the end. Then drag the file from Nautilus (the file browser) into the Terminal window. That will paste its full path. Then press Enter.
answered Dec 22, 2012 at 8:50
Eliah KaganEliah Kagan
116k54 gold badges315 silver badges489 bronze badges
I think you are running the command from a different directory.
Open Terminal (Ctrl+Alt+T) and make sure that the file you trying to run is listed when you do the ls command.
If you have downloaded the file using a web browser browser, then the file should be located in ~/Downloads. Change the directory to your downloads folder with cd ~/Downloads.
Once you have made sure that ls lists the file, then run the command:
sudo dpkg -i wineqq2012-20120719-longene.deb
Eliah Kagan
116k54 gold badges315 silver badges489 bronze badges
answered Dec 22, 2012 at 8:48
devav2devav2
35.5k17 gold badges79 silver badges82 bronze badges
Modify the command the following way:
sudo dpkg -i ./wineqq2012-20120719-longene.deb
This will make dpkg search the package in the current folder.
BTW, you should you use apt, to get the pkg listed in the log files, and more:
sudo apt install ./wineqq2012-20120719-longene.deb
answered Nov 11, 2018 at 15:14
![]()
abu_buaabu_bua
10.4k10 gold badges42 silver badges62 bronze badges
Сообщение об ошибке No such file or directory означает, что .deb Файл не существует или не существует в текущем каталоге.
~ между : а также $ в приглашении представляет текущий рабочий каталог. ~ (когда следующий символ / или, как в этом случае, ничего) является сокращением для вашего домашнего каталога, /home/collins,
Вы сказали, что загрузили .deb файл «в загружаемых файлах». Предполагая, что это означает, что вы загрузили его в свой Downloads папка, это означает, что он находится в /home/collins/Downloads скорее, чем /home/collins,
Таким образом, вы сможете установить его, выполнив следующую команду:
sudo dpkg -i ~/Downloads/wineqq2012-20120719-longene.deb
Если это не сработает, попробуйте набрать
sudo dpkg -i
без нажатия Enter. Добавьте пробел в конец. Затем перетащите файл из Nautilus (файловый браузер) в окно терминала. Это вставит его полный путь. Затем нажмите Enter.
Empire Version
2.3.0 (from dev branch)
OS Information (Linux flavor, Python version)
Kali 2019.1 (Rolling)
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
Expected successful installation. Error: dpkg: error: cannot access archive ‘libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb’: No such file or directory
Steps:
git clone [URL link from main page]- Navigated to setup folder, and
./install.sh - Received error message: dpkg: error: cannot access archive ‘libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb’: No such file or directory
pip install --force-reinstall pip==18.1- edited /setup/install.sh. Commented out all lines of
pip install --upgrade pip - Tried to reinstall with
./install.sh. Same error message sudo rm -rf Empirein opt folder where Empire was installed.- Migrated over to dev branch,
git clone [URL link from dev branch] - Navigated to setup folder, and
./install.sh - Received error message again.
So whether I install from the master or dev branches, I get the same error message.
Screenshot of error, embedded text output, or Pastebin link to the error
dpkg: error: cannot access archive ‘libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb’: No such file or directory
Any additional information
I saw another question related to this error here, but was unable to get it resolved using the suggestions there.
Also, this is my very first time on github, so I apologize in advance for misinformation, etc.
Asked
2 years, 10 months ago
Viewed
4k times
asked Aug 19, 2020 at 15:32
poseidonposeidon
111 silver badge2 bronze badges
3
Run the following commands.
sudo dpkg -i --force-overwrite kali-themes tilix-common libgtkd-3-0 libphobos2-ldc-shared91 libvted-3-0
sudo apt -f install
sudo apt install tilix
answered Aug 19, 2020 at 23:59
![]()
karelkarel
1,9232 gold badges17 silver badges26 bronze badges
0
Not the answer you’re looking for? Browse other questions tagged
.
Not the answer you’re looking for? Browse other questions tagged
.
-
dpkg: error: cannot access archive
I am running Ubuntu 22.04.2 LTS
When I update and upgrade, I get the following error:
Code:
dpkg: unrecoverable fatal error, aborting: loading files list file for package 'fonts-tibetan-machine': cannot read /var/lib/dpkg/info/fonts-tibetan-machine.list (Input/output error) E: Sub-process /usr/bin/dpkg returned an error code (2)
I cannot use Firefox, and my PC is not working right, can anyone help me? Thank you!
Last edited by ajgreeny; April 19th, 2023 at 08:17 PM.
Reason: Font normalised Code tags added
-
Re: dpkg: error: cannot access archive
Please, Please use normal fonts.
can you show us this:Code:
ls /var/lib/dpkg/info/ | grep fonts
EDIT: and one more while we are here:
Code:
ls -l /var/lib/dpkg/status*
Last edited by 1fallen; April 19th, 2023 at 06:50 PM.
With realization of one’s own potential and self-confidence in one’s ability, one can build a better world.
Dalai Lama>>
Code Tags Arch Linux, openSuse Tumbleweed, Debian Unstable
-
Re: dpkg: error: cannot access archive
Multiple errors that have nothing directly to do with each other, at least one give an I/O error on file access… That smells like a damaged filesystem, possibly a broken harddrive.
Can you test smart status of your hard drive? BTW, best to monitor that over time.
-
Re: dpkg: error: cannot access archive
[QUOTE=ttgteacher;14139676]I am running Ubuntu 22.04.2 LTS
When I update and upgrade, I get the following error:
Code:
... cannot read /var/lib/dpkg/info/fonts-tibetan-machine.list (Input/output error)
When I saw this in the first post, the first thing I thought of was;
Reboot the machine and at the Grub2 menu, use Advance Options > Rescue > fsck. If it is just an EXT filesystem error, it will attempt to repair it. If it is a bad part of the disk, it will attempt to move it to a good part of the disk and mark that sector as bad. The same with ZFS ZPool scrub for filesystems on ZFS.
If it says that it had to repair the filesystem and there is still a problem with reading that file, then reinstall the package via
Code:
sudo apt install --reinstall fonts-tibetan-machine
I recognize that as a font package for Tibetan, Dzongkha and Ladakhi.
I may be confused, but… Everyone lately seems to jump directly to smartmontools first for reading errors (which I use), but seem to forget that there are other tools to use first. That, and smartmontools is not a default installed application and so it would need to be installed by a User before using it.
I love smartmontools and it is invaluable for what it does, and what it can report… now, along with nvme-cli for NVMe drives. I use both a lot.
Just my thoughts.
Last edited by MAFoElffen; April 20th, 2023 at 12:01 AM.
Reason: Because after I post something, I wonder how I spelled things so badly… Am I becomeing dislexic? LOL
-
Re: dpkg: error: cannot access archive
I suggest you boot to Ubuntu liveCD / ISO / USB and run an fsck against the internal file systems to make sure they are healthy
-
Re: dpkg: error: cannot access archive
I tried, but this did not work.
-
Re: dpkg: error: cannot access archive
I tried this, but had no success.
-
Re: dpkg: error: cannot access archive
ttgteacher; Hello
I tried, but this did not work.
is devoid of information and does no tell us anything new.
What did you try and what is the result — exactly ? What did you look forward to happening ?
with a free operating system
-
Re: dpkg: error: cannot access archive
I followed the instructions above and typed this into terminal, hoping my system would update, and upgrade. I still got the same error, and my pc does not work properly.
I just need simple to follow instructions from someone in the forum who knows how to help me. Do you think I should try something else? I am looking to see what I can do to remove the error message and be able to use my computer.
Thank you!
ls /var/lib/dpkg/info/ | grep fonts
ls -l /var/lib/dpkg/status*sudo apt install —reinstall fonts-tibetan-machine
-
Re: dpkg: error: cannot access archive
Thank you all, I reinstalled 22.04.2 LTS, I appreciate your help. I lost all my files, pictures and documents, but I am back up and running.
