Dpkg ошибка cannot access archive deb нет такого файла или каталога
This page lists some general issues that users might encounter while performing updates of their system. Apport will usually detect these failures and file a bug in Launchpad. These bugs can be identified by the bug tag 'apport-package' and can occur on nearly any package.
Detailed informations about debugging updatemanager can be found at DebuggingUpdateManager.
Documented below are the most commonly reported issues. For each case there is a description and a sample report and when applicable there is a workaround or fix and the master report it should be marked a duplicate of.
Method 2a
Select and copy the file
Open terminal, and type:
Then right-click and 'Paste Filenames' - you should get something like this, with no %20 s, and in quotes ' :
Can't access archive
/etc/defoma/hints/FONTNAME.hints: Unable to open, or empty
Under certain circumstances font packages failed to install with the following error:
This is due to a corrupted hint file.
Workaround
To workaround it, open a terminal and run the following commands:
Then try performing the install again. Replace the font file name (FONTNAME) by the font name failing on your system (e.g ttf-dejavu-extra, ttf-konatu, . )
Common issues arising from hardware failures, common invalid bugs for this category.
DbDriver "config" is locked
fuser -v will return the locking process if any. Kill it and try performing the upgrade again. Most often, this is only a transient situation and fuser will return nothing. Simply performing the update again should solve this issue.
Package in bad inconsistent state
Workaround A:
Please open a Terminal from the menu Applications->Accessories->Terminal and type or copy and paste the row below:
sudo apt-get --reinstall install cupsys
sudo dpkg --configure -a
sudo apt-get -f install
Workaround B:
Try the command below to purge the offending packages :
sudo dpkg --purge --force-remove-reinstreq flashplugin-installer flashplugin-nonfree
Method 1
Right-click on the file and select 'Open With Ubuntu Software Centre':
No space left on device
This error is self-explanatory.
Note about localized error message:
Despite the fact that there is no ambiguity regarding the cause of the failure, finding this error in the log is not always easy because the error string has been localized. Checking for the strings --unpack and buffer_write in the error log is a good indication too.
Method 2b
Change to the directory* the .deb file is in - if was in Downloads in the home folder:
or in the Firefox directory, in the Downloads folder:
You should be able to tell if the terminal is in the right directory if your run this:
and the filename appears in the output:
you should be able to run it as:
Note also the name of directory the terminal is currently in appears in the command prompt to the right of your username & the computer's hostname. The terminal in which you running dpkg needs to be in the same sirecotry as the .deb file.
*By default the terminal is 'in' the home directory, which is represented by ~
результат тотже , я с линуксам 2й день так что моку чтото делать не так. что делать не знаю.
Система стоит рядом с виндой. когда запускал с usb то пакеты устанавливались.
Xulinam
linuxNoob
Нет, wifite я выставил для примера, ни одна прога не устанавливаеться, пробовал ,wifite. wine. и другие
Может нужно както в ручную репазитории обновить или ещё что-то.
ps. сейчас попробую установить скачаный файл.
Xulinam
А зачем ты пишешь sudo??
и покажите что у вас написано в /etc/apt/sources.list
linuxNoob
ps. как зделать скрин?)
сработала такая команда
в окне такая информация
Xulinam
linuxNoob
Xulinam
linuxNoob
сработала такая команда
в окне такая информация
Xulinam
linuxNoob
Xulinam
linuxNoob
Xulinam
Dr.Lafa
сработала такая команда
в окне такая инфориация
В файле /etc/apt/sources.list должны быть репозитории, откуда линух будет брать обновленя и пакеты, сейчас их там нет. Нормальный sources.list можно взять с
linuxNoob
В файле /etc/apt/sources.list должны быть репозитории, откуда линух будет брать обновленя и пакеты, сейчас их там нет. Нормальный sources.list можно взять с
hardserv
У меня тоже появилась такая проблема. причем на разных версиях Kali. Пробовал релиз 2017.1 и сейчас установил 2019.4. В файл sources.list прописал ссылки на репозитории взятые с kali.org, те же самые что и указано выше. Тем не менее пишет "e: невозможно найти пакет". Ну и ничего не обновляет соотв. Такое впечатление что Kali не видит содержимое sources.list. В случае, если ссылки в sources.list прописаны верно, какие могут быть еще причины?
kali-rolling main non-free contrib
это содержимое моего sources.list
Хелп, не устанавливаться пакеты, устанавливаю через терминал на все запрсы один ответ.
результат тотже , я с линуксам 2й день так что моку чтото делать не так. что делать не знаю.
Система стоит рядом с виндой. когда запускал с usb то пакеты устанавливались.
Наверное у тебя в soursec.list не добавлены ссылки на сетевые зеркала для kali. Найди файл sources.list в kali, и добавь в него следующие строки:
Всех приветствую. Прошу помощи с установкой Empire. Прежде чем перейти к написанию комментария/совета, внимательно прочтите какие попытки решения проблемы уже были предприняты, что бы не дублировать советы и не уточнять «причину получения бана в гугле».
Проблема - не встаёт как надо / не запускается Empire.
Цель - запустить Empire (но если подскажите хорошие аналоги/альтернативы - я буду не против и даже рад), разобраться что было не так и как анализировать подобную ситуацию, что бы в будущем решить вопрос быстрее и самому.
Откуда качаю/устанавливаю: empireProject/Empire
Да, я видел что есть другая версия Empire, но она нам не нужна.
Что видим при установки:
Данная установка не первичная, поэтому, может отличаться от первой.
До этой ошибки была другая и какой то другой модуль отсутствовал. Я его установил pip'ом и потом появилась уже эта, которой constant_time нужен. Думал что и с ним проблем не будет, но ошибся.
Что УЖЕ БЫЛО предпринято для решения проблемы:
Пишу что уже сделал, т.к. где то, это уже советовали.
11) В каком то видосе говорилось «Если выдаёт ошибку, закомментируйте в стартовом файле всё что не работает и всё полетит» - сомнительное мероприятие, но делал. Не взлетели. Вернул как было.
12) Ставил докер, туда империю - не работает.
13) Установил python 2.7.18 параллельно 3.9.2. И тут случился очень неожиданный поворот, которого ни я ни вы не ожидаете…
Empire впервые запустилась и я увидел……
Choose a difficulty level where 0 is easy and 99 is hard:
EMPIRE, Version 5.00 site Amdahl 1-Apr-1988
Detailed directions are in EMPIRE.DOC
Cannot open saved game: No such file or directory
Что, б**ть, я делаю не так и что сделать так?
Видимо, в какой то момент отчаяния я случайно установил это вот….и запустил случайно, судя по всему.
Далее, я вернул python 3.9.2 в режим основного и попробовал опять запустить empire на что получил ОПЯТЬ новый ответ:
Теперь всё осталось на данном уровне: «Нет такого файла или каталога»
Описанные действия идут не в хронологическом порядке и что то я мог забыть, т.к. я 4-й день пытаюсь её поднять и не помню что за чем шло. Но вот эта тема с запуском EMPIRE, Version 5.00 - была последним штрихом, что бы я начал писать вопрос.
Сейчас у многих не встаёт Empire, судя по всему, потому что у разработчиков не встаёт на Empire…полтора года 0 активности от них.
Решение, скорее всего, где то на поверхности и в какой то мелочи, но я хз где.
Подскажите, как мне установить, всё же, империю? Возможно, есть хорошая замена Empire? Буду только рад если есть что то новое.
lzma : decoder error
short read - Input/output error
The 'short read' error happens when trying to install a partially downloaded package. The front-end verify the integrity of the archive, but it is not the case if dpkg is invoked directly.
The suggestion is to run a manual fsck and look whether the hard drive or storage device is operating correctly (dmesg may contain helpful information too)
TODO: Write a standard response
Segmentation Fault - Exit status 139
If the installation failed with no reason with an exit status 139, that the configuration script is trivial and there is no other report of this kind for that package, then this is very likely a memory corruption error.
The error from the term.log will show something like this:
There is not much we can do except the advice below:
Thanks for your report.
The reporter will most of the time says that the test reports error. If so, then close the report.
Note : an exit status 139 can also appear on other scenarios that aren't related to faulty memory modules. For example, if you install a Hardy guest on a Lenny host using Xen, and then try an apt-get upgrade on the Hardy guest, that will fail with a segfault and an exit status 139 if you forget to disable /lib/tls as advised in the Xen Faq
- Add note about localized messages in log file and method to process those reports
- Search for master reports, complete missing references in wiki and cross-reference report/wiki content
DebuggingInstallationIssues (последним исправлял пользователь andrew-wippler 2014-11-17 18:12:57)
The material on this wiki is available under a free license, see Copyright / License for details.
Закончил установку debian. Ща буду ставить по,настраивать ос под себя) и первый вопрос что тут по архивам,архиваторам и т.д?
пакет engrampa поставь, будет тебе гуй к архиваторам разным.
Все наиболее распространенные (xz, tar, bz2) и множество менее популярных (например zip) поддерживаются из коробки, а вот с маргинальными 7z и rar все не так радужно. Для 7z нужен p7zip, для rar — unrar (доступна только распаковка).
ок второй вопрос как сделать мигающий курсор в терминале?
В GNOME, что стоит у тебя, уже включен архиватор.
какой софт посоветуете поставить? как ставить filezilla что-нибудь для python(ide)
В xfce4-terminal, что ты используешь, в настройках есть опция «Мигающий курсор».
Vsevolod-linuxoid ★★★★★ ( 10.10.17 21:52:00 )
Последнее исправление: Vsevolod-linuxoid 10.10.17 21:52:09 (всего исправлений: 1)
какой софт посоветуете?
вряд ли новичек установил только одну базовую часть системы - наверняка засадил готовое решениев виде DE, а в любом готовом решении этого говна видимо не видимо - и архиваторы и терминалы и фреезила, кроме того в готовом решении есть гуишный apt - специально для тех кто в танке.
geany в качестве IDE для python годна.
что такое luakit
браузер на базе webkit с поддержкой управления только с помощью клавиатуры
Закончил установку debian. Ща буду ставить по,настраивать ос под себя
Можешь перед пацанами похвастаться теперь. Че сказать то хотел?
проблем с ними можно считать, что никаких нет
Понадёргал из своей истории и сделал скрипт:
Обновляться можешь так:
Это команды установки софта, для тупых.
Ubuntu/Debian package на их сайте
можешь написать подробно пж
На их сайте выбери скачать, там выбери нужную тебе редакцию. Потом будет 3 ссылки, там нажми Ubuntu/debian. Скачается файл. Открой терминал в папке с файлом. (ПКМ->открыть в терминале). Выполни sudo dpkg -i файл. (Можешь начать набирать и нажать tab - сработает автодополнение). Потом если будет матерится на зависимости - sudo apt-get install -f
I've installed the deb fie for mysql version 6 . and when I've typed :
I've gotten the following error :
the result of ls -lah :
how do i install .deb files in an easy way ??
UPDATE :
I've typed as in the answer :
and gotten the following :
There is a problem in dependencies. how to solve that ??
Exec format error
This error indicates that the installation or removal script is corrupted. It is caused by a sudden system failure during dpkg operation (power failure, hardware failure, . ) on filesystems supporting delayed allocation (like ext4, xfs, btrfs, . )
Empty files or files filed with garbage are left on the hard drive. The file causing the dpkg error is one of /var/lib/dpkg/info/PACKAGE_NAME.p*
This error can occur either during installation or removal of the package.
During installation of a package
During removal of a package
Workaround A: Finish the install
Workaround B: Remove the package and reinstall
sudo rm /var/lib/dpkg/info/flashplugin-installer.
sudo apt-get remove --purge flashplugin-installer
sudo apt-get clean
sudo apt-get update
Note: Change the package by the one which failed (check the log file)
- Erreur de format pour exec()
- Error de formato ejecutable
- Errore di formato di exec
- Exec format error
- Formatfel på körbar fil
- Érvénytelen végrehajtható fájlformátum
- Exec formátum hiba
- Verkeerd uitvoerbaar bestand
- Exec 格式错误
files list file missing final newline / contains empty filename
This error indicates that the file /var/lib/dpkg/info/PACKAGE_NAME.list is corrupted ( empty or full of garbage ) The reason may be a disk error, a memory error, a process being interrupted during unpack, .
Typically these errors take the form :
files list file for package packagename contains empty filename
or
files list file for package packagename is missing final newline
Workaround: Recreate the file list from .deb
This can be fixed, with a little work. If you have the .deb file for the offending package currently available on your system, then check its integrity by running:
dpkg --contents /var/cache/apt/archive/libgnome2-0_2.24.1-0ubuntu3_i386.deb
or get a .deb file by running :
sudo apt-get install --reinstall --download-only libgnome2-0
Once you have a valid .deb file, then you can reconstitute the file. First become root by using sudo -s (enter your administrative user password if necessary), and then use the following command (copy/paste and change the package name accordingly):
package is already installed and configured
Conditions of this failure are unknown. Please provide any additional informations in the master report.
Note to triagers: Before marking a report as duplicate, be sure that there is no other error in the log file term.log . In other words, don't blindly duplicate because the title says 'already installed and configured'.
Workaround A:
Workaround B:
Not a Debian format archive
This error indicated that the header of the .deb archive is not recognized as a valid debian format.
2 Answers 2
I think your problem that the mysql workbench You've downloaded is for 32 bit ubuntu 12.04.
If your ubuntu is 64 bit you should download the 64bit version of mysql workbench from here
if you issue the command
in the terminal you should see something written like this:
Then the key is x86_64 means that this is a 64bit OS
@AvinashRaj it's not only an assumption. If you read the huge number of dependencies you will notice that there is something wrong. I know workbench is not so dependent. So I realized that architecture is the problem. If I found that this is wrong I will delete my answer immediately
Corrupted filesystem tarfile
Other issues
triggers ci file contains unknown directive syntax
This is the same kind of issue than the one above. It means that the trigger file is empty or corrupted. The file is /var/lib/dpkg/info/PACKAGE.triggers This error can occur during installation or removal of a package.
During installation of a package
Workaround
Corrupted package archive
These errors indicates a corrupted archive (.deb or files on disk) The root cause of the corruption may be a bad network connection, faulty hardware, hardware shutdown.
For those report the common workaround and stock response is:
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that there was an error caused by a corrupted archive. Please execute the following commands, as it will clear your package cache, in a terminal ( Applications -> Accessories -> Terminal ) :
sudo apt-get clean
sudo apt-get update
--fsys-tarfile
Inconsistent state
/var/lib/defoma/locked exists
Under certain circumstances font packages failed to install with the following error:
Workaround
Open a terminal (Applications -> Accessories -> Terminal ) and run the following command:
Читайте также: