我的debian7之前安装了mysql-server,是通过apt安装的,后来我卸载掉, 然后用whereis mysql查找, 把所有关于mysql的目录删除掉,包括带mysqld的目录及文件. 重新安装mysql,安装过程中没有提示错误,也没有提示要输入root密码之类的, 完成后 ,通过whereis mysql无法找到安装的文件,which mysql也无法找到,运行提示无mysql命令....请问这个问题该如何解决. 这是我在其它平台上提的问题,可惜没有人回答,最后自己多次搜索尝试终于…
在用apt-get安装软件包的时候遇到E: Sub-process /usr/bin/dpkg returned an error code (1)问题,解决方法如下: cd /var/lib/dpkg/ sudo mv info/ info_bak # 现将info文件夹更名 sudo mkdir info # 再新建一个新的info文件夹 sudo apt-get update # 更新 sudo apt-get -f install # 修复 sudo mv info/* info_bak…
mysql安装以后无法登陆的的解决方法((ERROR 1698 (28000): Access denied for user 'root'@'localhost')) 解决步骤: [====>>https://www.cnblogs.com/leolztang/p/5094930.html .sudo mysql -u root -p .select user, plugin from mysql.user; .update mysql.user set authentication_str…
Linux 通过 apt-get 安装软件时报错,换一个软件安装也一样. Errors were encountered while processing: blueman E: Sub-process /usr/bin/dpkg returned an error code () 解决办法: root@ubuntu:/# cd /var/lib/dpkg/ root@ubuntu:/var/lib/dpkg# mv info/ info_old root@ubuntu:/var/lib/dpk…
在用apt-get安装软件包的时候遇到E: Sub-process /usr/bin/dpkg returned an error code (1)问题,解决方法如下:   cd /var/lib/dpkg/ sudo mv info/ info_bak # 现将info文件夹更名 sudo mkdir info # 再新建一个新的info文件夹 sudo apt-get update # 更新 sudo apt-get -f install # 修复 sudo mv info/* info_b…
[转]ubuntu错误解决E: Sub-process /usr/bin/dpkg returned an error code (1) http://yanue.net/post-123.html 在用apt-get安装软件时出现了类似于install-info: No dir file specified; try –help for more information.dpkg:处理 gettext (–configure)时出错: 子进程 post-installation script…
E: Sub-process /usr/bin/dpkg returned an error code (1) 错误描述 dpkg: error processing archive /var/cache/apt/archives/libfreetype6-dev_2.5.2-4ubuntu2_amd64.deb (--unpack): trying to overwrite shared '/usr/share/man/man1/freetype-config.1.gz', which is…
在用apt-get安装软件时出现了类似于install-info: No dir file specified; try --help for more information.dpkg:处理 gettext (--configure)时出错: 子进程 post-installation script 返回了错误号 1 在处理时有错误发生:findutilsE: Sub-process /usr/bin/dpkg returned an error code (1)办法如下:1.$ sudo m…
E: Sub-process /usr/bin/dpkg returned an error code (1)错误解决 在用apt-get安装软件时出现了类似于install-info: No dir file specified; try --help for more information.dpkg:处理 gettext (--configure)时出错: 子进程 post-installation script 返回了错误号 1 在处理时有错误发生:findutilsE: Sub-pro…
在ubuntu下使用apt-get install 安装资源的时候,总是会遇到Sub-process /usr/bin/dpkg returned an error code (1) 错了, 跟安装软件依赖没有清理干净,因此下次更新的时候还会报错,虽然网上有n多这样的处理方式, 经过查看和处理以后记录下来一种有效方案留作自己查看: 办法如下:  sudo mv /var/lib/dpkg/info /var/lib/dpkg/info.bak  sudo mkdir /var/lib/dpkg/…
在用apt-get安装软件时出现了类似于 install-info: No dir file specified; try –help for more information.dpkg:处理 gettext (–configure)时出错: 子进程 post-installation script 返回了错误号 1 在处理时有错误发生: findutils E: Sub-process /usr/bin/dpkg returned an error code (1) 第一种方法: sudo m…
如题,本人在安装samba等软件的时候,在命令行敲入: sudo apt-get install samba4命令的时候,系统在下载之后报错,大致内容如下: ~$ sudo apt-get install apache2[sudo] password for lilyyin: Reading package lists... DoneBuilding dependency tree Reading state information... Doneapache2 is already the n…
  一 设置MySQL命令行搜索路径 0.苹果->系统偏好设置->最下边点mysql 在弹出页面中 启动mysql服务 1.打开终端,输入: sudo vi ~/.bash_profile 如果已存在删除:  sudo rm -rf .bash_*   2.输入 i   3.然后粘贴以下内容 # mysql alias mysql='/usr/local/mysql/bin/mysql' alias mysqladmin='/usr/local/mysql/bin/mysqladmin' #…
在用apt-get安装软件时出现了类似于 install-info: No dir file specified; try –help for more information.dpkg:处理 gettext (–configure)时出错: 子进程 post-installation script 返回了错误号 1 在处理时有错误发生: findutils E: Sub-process /usr/bin/dpkg returned an error code (1) 办法如下: sudo mv…
之前通过wine安装了一款软件,不经常用,也没有拆卸 可是之后呢,每次更新都要提示更新那个软件,更新的时候又总是找不到更新源 无奈之下,我通过软件中心移除wine,没想到竟然碰到依赖问题,没有拆卸成功不说,还使得软件中心不能正常使用 再后来我通过 sudo apt-get -f install 了解了一下情况 发现是拆卸wine时必须先拆卸那个wine程序,而那个wine程序出了错无法拆卸 拆卸的时候提示:Sub-process /usr/bin/dpkg returned an error c…
Ubuntu16.04上将系统自带的python3.5升级到3.6 安装aioredis时提示Python版本需>=3.5.3,所以进行升级命令如下: $ sudo add-apt-repository ppa:jonathonf/python-3.6 $ sudo apt-get update $ * 注意,安装python3.6的时候一定要加*,将3.6所需的依赖库也一起装上 注意,python3.5不要卸载,卸载会损坏系统. # 移除原3.4link $ sudo rm /usr/bin/…
在用apt-get安装软件时出现了类似于 install-info: No dir file specified; try --help for more information.dpkg: 处理 gettext (--configure)时出错: 子进程 post-installation script 返回了错误号 1 在处理时有错误发生: findutils E: Sub-process /usr/bin/dpkg returned an error code (1) 解决办法如下: 1.…
cd /var/lib/dpkg sudo mv info info.bak #即备份一个info sudo mkdir info #新建一个新的info目录 然后采用以下命令重装那些出错的软件包 sudo apt-get –reinstall install 软件包名 开始我是想在一条命令中同时安装几个软件包,结果还是出现E: Sub-process /usr/bin/dpkg returned an error code (1) .于是把新的info删掉,一个个地来安装,每装好一个软件包,就…
总结关于Ubuntu 安装 Docker 配置相关问题及解决方法 Tomcat 示例 软件镜像(xx安装程序)----运行镜像----产生一个容器(正在运行的软件,运行的xx): 步骤: 1.搜索镜像 [root@localhost ~]# docker search tomcat 可以查看到镜像的相关信息. 建议安装 8.0 版本,最新版 webapps 文件夹下为空,需要从 webapps.list 上复制获取. 8.0 版本不需要,可直接访问. 2.拉取镜像 [root@localhost…
问题一: [2013-06-28 11:12:10 - ] Proguard returned with error code 1. See console [2013-06-28 11:12:10 - ] Note: there were 1 duplicate class definitions. [2013-06-28 11:12:10 - ] Warning: android.support.v4.os.ParcelableCompatCreatorHoneycombMR2: can't…
最近呢说要上线,就去找了下上线的方法...之前做过代码混淆,用的是progarud.cfg,但是呢自己反编译了之后还是无效,然后就丢着先不管了,因为实在不知道什么情况.今天来上线的时候结果总是报错,总是报proguard returned with error code 1.See console错误,到网上查了下情况,分为三种:情况1:Proguard returned with error code 1. See consoleError: C:/Documents (系统找不到指定文件)这…
Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi' E: Sub-process returned an error code 执行以下命令…
原链接: jaryWang:E: Sub-process /usr/bin/dpkg returned an error code (1)错误解决 1.$ sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_old //现将info文件夹更名 2.$ sudo mkdir /var/lib/dpkg/info //再新建一个新的info文件夹3.$ sudo apt-get update, $ apt-get -f install //不用解释了吧4.$ …
满世界的bug. 微信支付,Windows的远程桌面. Android的 , Proguard returned with error code 1. See console解决办法" 真的是路径的问题.就是sdk的路径,不能空格,()括号这种东西,总之,不要待这种东西.…
Ubuntu系统安装软件时报以下错误: E: Sub-process /usr/bin/dpkg returned an error code (1) 解决: mv /var/lib/dpkg/info /var/lib/dpkg/info_old mkdir /var/lib/dpkg/info apt update apt -f install mv /var/lib/dpkg/info/* /var/lib/dpkg/info_old rm -rf /var/lib/dpkg/info m…
You might want to reinstall dpkg by doing the following: sudo -i mkdir /tmp/dpkg cd /tmp/dpkg Mind that you might want to look whether the download links are still up-too-date If you are running a 32 bit version of ubuntu wget http://security.ubuntu.…
这几天在学习redis的时候,装软件总是报错,两个问题都和dpkg有关,上网查阅了些解决办法,发现整体来说执行以下方法均可解决. 虽然每个人需要安装的包不同,但是出现此类问题的不同也只有安装包的名字,以下办法通用. 错误及解决办法如下: 问题1: dpkg: 处理软件包 redis-server (--configure)时出错: 子进程 已安装 post-installation 脚本 返回错误状态 1正在处理用于 libc-bin (2.23-0ubuntu3) 的触发器 ...正在处理用于…
[先贴出解决方案(基于Ubuntu)]: 使用dpkg -i   *.deb 的时候出现依赖没有安装 使用apt-get -f -y install  解决依赖问题后再执行dpkg安装deb包 =====================1.下面是遇到的依赖没有安装=========================== 问题 horizon@horizon-pc ~/下载 $ sudo dpkg -i youdao-dict_1.1.0-0-ubuntu_amd64.deb [sudo] pass…
debian wheezy 升级后, 由于授权错误, 导致password给改动, 在debian的mysql safe下也无法进入.   我在/etc/mysql/my.cnf 里面已经改动了bind-address 为局域网ip 进而运行了 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION; 然后重载授权表: FLUSH PRIVILEGES; 然后重新启动后, 尽管能够远程链…
目录 第一坑,没有用管理员身份 第二坑,MySQL 服务无法启动 第三坑,报错:ERROR 1045 (28000): Access denied for user 'root'@'localhost' 第四坑,MySQL8.0后修改密码跟以前不一样 电脑配置:系统64位win10,MySQL8.0.16 第一坑,没有用管理员身份 第一次登录,打开cmd,执行net start mysql 报错:发生系统错误5 错误原因:没有用管理员身份运行cmd 第二坑,MySQL 服务无法启动 用管理员身份…