The package needs to be reinstalled, but I can't find an archive for it.

linux mint 18 Serena系统下,在安装 astah-community的中途,我嫌太慢想关了,于是把电脑重启。之后安装任何软件都会提示一句

“The package astah-community needs to be reinstalled, but I can't find an archive for it.”

参考链接:http://www.ihaveapc.com/2011/10/fix-annoying-the-package-needs-to-be-reinstalled-but-i-cant-find-an-archive-for-it-error-in-linux-mint-ubuntu/


我总结了一下结局方法:

1.打开终端,输入以下命令切换到root用户

su

接着输入root用户的密码,切换到root,以此获得最高授权。

2.在终端敲入以下代码备份dpkg status.

cp /var/lib/dpkg/status status.bkp

3.在终端敲入以下代码,授权修改dpkg status的权限。

chmod 777 /var/lib/dpkg/status

4. 在图形化界面下,沿着 /var/lib/dpkg/status 此路径打开status,注意他会提醒你是“run”或“display”,选择“display”。

5.ctrl+F 打入安装不完整的包,比如我的是“astah”,搜索到其中的package记录,删除整段package记录,接着保存。

6.完毕。

  • 2
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
能修复因装各种嗅探器,虚拟网卡之类的,对网络环境的破坏。感觉比360的修复好用 Rizone Winsock Repair Version: 0.5.1.512 Release Date: April 13th 2010 System Requirements: Windows XP, 2003, Vista, 2008, 7 © Rizone Technologies. All rights reserved. www.rizonetech.com Description: Winsock, which stands for Windows Sockets API, defines how networking software should access network services. Many users come into contact with Winsock after experiencing connection problems that are usually related to Winsock. The connection problems come in a wide variety and include losing network connections, DNS lookup problems, websites becoming unavailable, limited network connections plus many more. There are several reasons for these network issues including computer crashes, installation of networking software or malicious software attacks that tampered with network settings and Winsock. A corrupt Winsock can therefore lead to all kinds of networking troubles which are difficulty to analyze and understand for the inexperienced user. Winsock Repair can fix most Winsock errors with the push of a button. That’s obviously more comfortable than having to fix the errors manually. Winsock Repair is a portable software program for the Windows operating system that has two primary functions. The first is to reset the TCP/IP stack which will rewrite important Windows Registry keys with their default values. The second will try to repair Winsock so that the network connectivity issues are a thing of the past. It does provide an option to list the installed LSPs (Layered Service Providers) which can be important as pre-installed LSPs might need to be reinstalled after fixing the Winsock errors. Installation: Winsock Repair is very simple utility and, for this reason, does not demand any installation utility. Simply unzip all files to any folder and run the executable file (usually, "WinsRepair.exe"). Winsock Repair LICENSE AGREEMENT: By using or distributing this software (or any work based on the software) you shall be deemed to have accepted the terms and conditions set out below. Rizone Technologies ("Rizone") is making this software freely available on the basis that it is accepted as found and that the user checks its fitness for purpose prior to use. This software is provided 'as-is', without any express or implied warranties whatsoever. In no event will the authors, partners or contributors be held liable for any damages, claims or other liabilities direct or indirect, arising from the use of this software. Rizone will from time to time make software updates available. However, Rizone accepts no obligation to provide any support to free license holders. Rizone grants you a limited non-exclusive license to use this software for any purpose, including commercial applications and redistribute it freely, subject to the following restrictions: 1) The origin of this software must not be misrepresented; you must not claim that you wrote the original software. 2) You must not alter the software, user license or installer in any way. 3) This notice may not be removed or altered from any distribution. 4) You may not resell or charge for the software. 5) You may not reverse engineer, decompile, disassemble, derive the source code of or modify [or create derivative work from] the program. 6) You must not use Winsock Repair to engage in or allow others to engage in any illegal activity. 7) You may not claim any sponsorship by, endorsement by, or affiliation with our company. 8) You acknowledge that Rizone owns the copyright and all associated intellectual property rights relating to the software.
3rd-party components For support in the project, a required 3rd-party controls must be declared in the SkinManager.ThirdParty property. Use a special design-time editor for handy adding of required controls. -------------------------------------------------------------------------------- List of supported components : - Standard VCL (TPanel, TEdit, TMemo, TListBox, TComboBox, TMaskEdit, TStringGrid, TDrawGrid, TCheckListBox, TRichEdit, THotKey, TTreeView, TListView, TDBGrid, TDBEdit, TDBMemo, TDBListBox, TDBLookupListBox, TDBRichEdit, TGroupBox, TButton, TCheckBox, TRadioButton and others) - Windows system dialogs (File open/save, Font dialog, Color dialog and others) - DevExpress grids and other controls which supports LookAndFeel technology - RXLib (TCurrencyEdit, TTextListBox, TRxRichEdit, TRxDrawGrid, TRxDBGrid, TRxDBLookupList, TRxDBRichEdit and others) - JVCL (JvValidateEdit, JvEdit, JvMemo, JvRichEdit and others) - EhLib controls - TPNGImageList - TntControls Unicode - Most TMS edits and grids - Billenium effects - TSynEdit, TSynMemo, TDBSynEdit - Virtual Controls (TVirtualStringTree and TVirtualDrawTree) - most Woll2Woll InfoPower 4000 controls - TmxFlatEdit, TmxFlatFloatEdit, TmxFlatMaskEdit, TmxFlatMemo, TmxFlatRichEdit, TmxFlatListBox, TmxFlatDirectoryListBox, TmxFlatFileListBox, mxFlatCheckListBox and others - ImageEn library - TRichView, TRichViewEdit, TDBRichViewEdit and TDBRichView - TVirtualExplorerListView, TVirtualExplorerTreeview - Raize controls (TRzPanel, TRzGroupBox, TRzEdit, TRzMaskEdit, TRzNumericEdit, TRzExpandEdit, TRzHotKeyEdit, TRzTreeView, TRzCheckTree, TRzMemo, TRzRichEdit, TRzShellTree, TRzShellList, TRzRankListBox, TRzListBox, TRzTabbedListBox, TRzCheckList, TRzEditListBox, TRzComboBox, TRzImageComboBox, TRzMRUComboBox, TRzShellCombo, TRzLabel, TRzURLLabel, TRzDateTimeEdit) - TWebBrowser -------------------------------------------------------------------------------- Some instructions for 3rd-party features using in the AlphaControls full release : 1. Most standard and 3rd-party controls Skinned automatically if required controls are declared in the SkinManager.ThirdParty property and SkinManager.SkinningRules.srThirdParty property is true 2. TntControls Unicode Most controls from AlphaControls package may have support of Unicode (in Delphi6-2009). In this case used the TntControls package (thanks TNT authors, TntControls must be installed already). For using this feature should be uncommented the TNTUNICODE key in the sDefs.inc file (should be {$DEFINE TNTUNICODE}) and AlphaControls package must be reinstalled (sources needed). Note : don't forget backup all projects before opening after package installation, some Unicode data may be lost if compiled without TNTUNICODE key. 3. TPngImageList Since version 6 AlphaControls have native support of PNG format (TsAlphaImageList was added also). Buttons and menus from AlphaControls have support of TPngImageList component also. For work with this component the USEPNG key should be defined in the sDefs.inc file (must be {$DEFINE USEPNG}). TPNGImageList is a freeware component with sources that may be used for work with PNG glyphs in any application. May be downloaded from http://www.thany.org/article/32/PngComponents 4. DevExpress grids and other controls - Install DevExpress and AlphaControls - Enable the 'DEVEX6' or 'DEVEX2011' key in the sDefs.inc file (AlphaControls), must be {$DEFINE DEVEX6} - Be sure that latest version of DevExpress is installed, or check a list of supported DevExpress versions in the beginning of the acLFPainter.pas file (AlphaControls) - Configure the sSkinManager component and compile the project. In the run-time will be skinned all DevExpress controls which have LookAndFeel property properly supported. LookAndFeel.NativeStyle property must be False. 'DEVEX' key must be enabled (in the sDefs.inc file) before AlphaControls installing (must be {$DEFINE DEVEX}). 5. Billenium Effects This package is supported authomatically 6. TWebBrowser The ADDWEBBROWSER key should be enabled in the sDefs.inc file before a package installing. Sources of the package are required. TWebBrowser type should be added in sSkinManager1.ThirdParty list as 'WebBrowser'

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值