很多破碎的haskell软件包

如何解决很多破碎的haskell软件包

(Arch linux)最近,haskell软件包遇到很多问题。通常,我可以通过更新某些软件包来轻松修复它们,但是可能是导致所有我无法弄清的根本原因。我目前认为,最可能的解释是我在haskell安装过程中的某个地方出错了,因为我没有使用“ haskell平台”,而是在需要它们时从各处随意安装了软件包。我刚刚进行了系统升级,现在运行startx时,结果为this。实际上,它所引用的共享对象文件libHSxmonad-contrib-0.16-AAxGT3H9yrS67i4YFgpjoh-ghc8.10.1.so并不存在,但是有两个以libHSxmonad-contrib结尾的ghc8.0.2共享对象文件(这是我的ghc —-version)确实存在。另外,我记得大多数时候说的大多数软件包都不见了(有些是通过cabal,有些是pacman)。如果有帮助,请查看我的cabal list —-installedghc-pkg checkpacman -Q|grep haskell

解决方法

[Arch Linux] 我不确定这是否相关,但最近我对无休止的 Haskell 包更新的反复频率越来越恼火——在我的情况下,几乎完全由我的 pandoc 安装触发。

分辨率

yay -Syu                        ## system update; alt: sudo -Syu
sudo pacman -R pandoc           ## uninstall pandoc

## ----------------------------------------
## Repeated cycles (~5-6) of the following,until nothing shown:

sudo pacman -Qdt                ## list all packages no longer required
                                ## as dependencies (orphans) ...

sudo pacman -R $(pacman -Qdtq)  ## ... and delete them
## ----------------------------------------

yay -Syu                        ## system update; alt: sudo -Syu

示例输出

[victoria@victoria 2.0]$ sudo pacman -R $(pacman -Qdtq)

checking dependencies...

Packages (88) asar-3.0.3-1  crypto++-8.2.0-3  dep-0.5.4-5  devilspie-0.23-4  extra-cmake-modules-5.77.0-1  fuseiso-20070708-8  gendesk-1.0.6-1  giblib-1.2.4-8  gnome-common-3.18.0-4  go-2:1.15.6-1  go-bindata-3.5.2-2
              gobject-introspection-1.66.1-3  gperf-3.1-3  haskell-bitarray-0.0.1.1-19  haskell-citeproc-0.2-9  haskell-cmark-gfm-0.2.2-20  haskell-commonmark-pandoc-0.2.0.1-36  haskell-doctemplates-0.8.3-10  haskell-glob-0.10.1-33
              haskell-haddock-library-1.9.0-65  haskell-hslua-module-system-0.2.2.1-22  haskell-hslua-module-text-0.3.0.1-10  haskell-http-4000.3.15-57  haskell-http-client-tls-0.3.5.3-344  haskell-ipynb-0.1.0.1-128
              haskell-jira-wiki-markup-1.3.2-32  haskell-juicypixels-3.3.5-42  haskell-regex-pcre-0.95.0.0-7  haskell-sha-1.6.4.4-15  haskell-skylighting-0.10.0.2-4  haskell-tagsoup-0.14.8-67  haskell-texmath-0.12.0.3-48
              haskell-unicode-transforms-0.3.7.1-16  haskell-zip-archive-0.4.1-71  ibus-1.5.23+3+gaa558de8-2  ipython2-5.9.0-1  jq-1.6-4  js68-68.12.0-1  kitty-terminfo-0.19.3-1  libgpod-0.8.3-11  libguess-1.2-3
              libhandy0-0.0.13+12+gaa6b6f4-2  libkcddb-20.12.0-1  libkeybinder2-0.3.1-4  liblastfm-qt5-1.0.9-5  libmspack-1:0.10.1alpha-3  libmygpo-qt5-1.1.0-3  liborcus-0.16.1-5  libpqxx-6.4.5-2  libspf2-1.2.10-5  lsb-release-1.4-18
              lv2-1.18.0-1  mathjax2-2.7.9-1  perl-number-bytes-human-0.11-4  perl-test-needs-0.002006-3  perl-test-pod-1.52-5  pygtk-2.24.0-12  python-atomicwrites-1.4.0-3  python-click-log-0.3.2-7  python-configobj-5.0.6-10
              python-flask-babel-2.0.0-3  python-icalendar-4.0.7-3  python-pipenv-2020.11.15-1  python-pytoml-0.1.21-6  python-tensorflow-serving-api-2.3.0-2  python-tzlocal-2.1-3  python-urwid-2.1.1-3  python-yaml-5.3.1-4
              python2-apsw-3.33.0-3  python2-dateutil-2.8.1-5  python2-dbus-1.2.16-3  python2-feedparser-5.2.1-9  python2-ipaddress-1.0.23-2  python2-msgpack-0.6.2-4  python2-mutagen-1.43.0-3  python2-pillow-6.2.1-3
              python2-psutil-5.7.3-3  python2-simplejson-3.17.2-3  quilt-0.66-2  sndio-1.7.0-3  tesseract-4.1.1-4  uwsgi-plugin-python-2.0.19.1-7  wxgtk2-3.0.5.1-1  xorg-bdftopcf-1.1-2  xorg-font-util-1.3.2-2  xorg-mkfontscale-1.2.1-2
              xorg-server-xvfb-1.20.10-3  yasm-1.3.0-4

Total Removed Size:  867.02 MiB

:: Do you want to remove these packages? [Y/n] y
...

## ***************************
## **  Subsequent cycles:  ***
## ***************************

Packages (47) autoconf-archive-1:2019.01.06-4  cmake-3.19.2-1  cmark-gfm-0.29.0.gfm.0-2  diffstat-1.63-1  gtk-doc-1.33.1-1  haskell-aeson-pretty-0.8.8-101  haskell-commonmark-extensions-0.2.0.4-6  haskell-connection-0.3.1-72
              haskell-data-default-0.7.1.1-92  haskell-digest-0.0.1.2-21  haskell-doclayout-0.3-50  haskell-file-embed-0.0.13.0-2  haskell-hslua-1.3.0-7  haskell-hsyaml-0.2.1.0-57  haskell-http-client-0.7.3-22
              haskell-old-time-1.1.0.3-26  haskell-pandoc-types-1.22-20  haskell-regex-base-0.94.0.0-7  haskell-skylighting-core-0.10.0.2-4  haskell-temporary-1.3-145  haskell-text-conversions-0.3.1-22  haskell-text-icu-0.7.0.1-36
              haskell-uniplate-1.6.13-9  haskell-xml-1.3.14-26  haskell-xml-conduit-1.9.0.0-82  intltool-0.51.0-6  leptonica-1.80.0-1  libixion-0.16.1-5  libmusicbrainz5-5.1.0-4  python-certifi-2020.6.20-3  python-flask-1.1.2-4
              python-greenlet-0.4.17-3  python-mako-1.1.3-3  python-speaklater-1.3-9  python-virtualenv-20.2.2-1  python-virtualenv-clone-0.5.4-3  python2-backports.shutil_get_terminal_size-1.0.0-4  python2-cairo-1.18.2-4
              python2-gobject2-2.28.7-6  python2-numpy-1.16.6-1  python2-olefile-0.46-3  python2-pexpect-4.8.0-3  python2-pickleshare-0.7.5-5  python2-prompt_toolkit1-1.0.15-2  python2-traitlets-4.3.3-6  sg3_utils-1.45-1
              yelp-tools-3.38.0-1

Packages (41) glib2-docs-2.66.4-1  haskell-aeson-1.5.4.1-26  haskell-ansi-terminal-0.11-25  haskell-base16-bytestring-1.0.1.0-1  haskell-base64-bytestring-1.2.0.1-8  haskell-blaze-html-0.9.1.2-62  haskell-cmdargs-0.10.20-15
              haskell-commonmark-0.1.1.2-7  haskell-conduit-extra-1.3.5-75  haskell-cookie-0.4.5-8  haskell-data-default-instances-containers-0.0.1-32  haskell-data-default-instances-dlist-0.0.1-105
              haskell-data-default-instances-old-locale-0.0.1-32  haskell-emojis-0.1-52  haskell-errors-2.3.0-58  haskell-http-types-0.12.3-105  haskell-hxt-9.3.1.18-185  haskell-mime-types-0.1.0.9-10  haskell-quickcheck-2.14.2-24
              haskell-socks-0.6.1-64  haskell-syb-0.7.1-8  haskell-tls-1.5.4-52  haskell-utf8-string-1.0.1.1-20  haskell-x509-system-1.6.6-164  haskell-xml-types-0.3.8-4  itstool-1:2.0.6-2  jsoncpp-1.9.4-1  mallard-ducktype-1.0.2-6
              python-anytree-2.8.0-3  python-beaker-1.11.0-6  python-filelock-3.0.12-5  python-itsdangerous-1.1.0-6  python-jinja-2.11.2-4  python2-decorator-4.4.2-3  python2-enum34-1.1.9-1  python2-pathlib-1.0.1-5
              python2-ptyprocess-0.6.0-6  python2-pygments-2.5.2-2  python2-wcwidth-0.2.5-3  rhash-1.4.0-1  yelp-xsl-3.38.2-1

Packages (23) haskell-attoparsec-0.13.2.4-41  haskell-base-compat-batteries-0.11.2-18  haskell-blaze-markup-0.8.2.7-32  haskell-case-insensitive-1.2.1.0-44  haskell-cereal-0.5.8.1-8  haskell-colour-2.3.5-83  haskell-conduit-1.3.4-8
              haskell-data-fix-0.3.0-32  haskell-dlist-1.0-28  haskell-erf-2.0.0.0-20  haskell-hxt-regex-xmlschema-9.2.0.3-24  haskell-hxt-unicode-9.0.2.4-20  haskell-network-uri-2.6.3.0-204  haskell-old-locale-1.0.0.7-26
              haskell-safe-0.3.19-4  haskell-streaming-commons-0.2.2.1-33  haskell-strict-0.4.0.1-6  haskell-time-compat-1.9.5-6  haskell-typed-process-0.2.6.0-68  haskell-uuid-types-1.0.3-63  haskell-x509-validation-1.6.11-96
              python-babel-2.9.0-1  python-markupsafe-1.1.1-6

Packages (14) haskell-async-2.2.2-48  haskell-base-compat-0.11.2-3  haskell-blaze-builder-0.4.1.0-15  haskell-byteable-0.1.1-21  haskell-data-default-class-0.1.2.0-20  haskell-hxt-charproperties-9.4.0.0-8
              haskell-mono-traversable-1.0.15.1-79  haskell-network-3.1.2.1-6  haskell-random-1.2.0-68  haskell-resourcet-1.2.4.2-36  haskell-scientific-0.3.6.2-58  haskell-these-1.1.1.1-33  haskell-x509-store-1.6.7-96
              haskell-zlib-0.6.2.2-4

Packages (8) haskell-assoc-1.0.2-32  haskell-integer-logarithms-1.0.3.1-2  haskell-split-0.2.3.4-86  haskell-splitmix-0.1.0.3-13  haskell-unliftio-core-0.2.0.1-5  haskell-unordered-containers-0.2.13.0-16
             haskell-vector-algorithms-0.8.0.4-6  haskell-x509-1.7.5-97

Packages (6) haskell-asn1-parse-0.9.5-63  haskell-bifunctors-5.5.8-22  haskell-cryptonite-0.27-37  haskell-hashable-1.3.0.0-44  haskell-pem-0.2.4-119  haskell-vector-0.12.1.2-76

Packages (3) haskell-asn1-types-0.3.4-42  haskell-distributive-0.6.2-48  haskell-transformers-compat-0.6.6-2

Packages (4) haskell-base-orphans-0.8.4-8  haskell-hourglass-0.2.12-87  haskell-memory-0.15.0-54  haskell-tagged-0.8.6-13

Packages (1) haskell-basement-0.0.11-9

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


使用本地python环境可以成功执行 import pandas as pd import matplotlib.pyplot as plt # 设置字体 plt.rcParams['font.sans-serif'] = ['SimHei'] # 能正确显示负号 p
错误1:Request method ‘DELETE‘ not supported 错误还原:controller层有一个接口,访问该接口时报错:Request method ‘DELETE‘ not supported 错误原因:没有接收到前端传入的参数,修改为如下 参考 错误2:cannot r
错误1:启动docker镜像时报错:Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen 解决方法:重启docker -> systemctl r
错误1:private field ‘xxx‘ is never assigned 按Altʾnter快捷键,选择第2项 参考:https://blog.csdn.net/shi_hong_fei_hei/article/details/88814070 错误2:启动时报错,不能找到主启动类 #
报错如下,通过源不能下载,最后警告pip需升级版本 Requirement already satisfied: pip in c:\users\ychen\appdata\local\programs\python\python310\lib\site-packages (22.0.4) Coll
错误1:maven打包报错 错误还原:使用maven打包项目时报错如下 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources)
错误1:服务调用时报错 服务消费者模块assess通过openFeign调用服务提供者模块hires 如下为服务提供者模块hires的控制层接口 @RestController @RequestMapping("/hires") public class FeignControl
错误1:运行项目后报如下错误 解决方案 报错2:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sb 解决方案:在pom.
参考 错误原因 过滤器或拦截器在生效时,redisTemplate还没有注入 解决方案:在注入容器时就生效 @Component //项目运行时就注入Spring容器 public class RedisBean { @Resource private RedisTemplate<String
使用vite构建项目报错 C:\Users\ychen\work>npm init @vitejs/app @vitejs/create-app is deprecated, use npm init vite instead C:\Users\ychen\AppData\Local\npm-
参考1 参考2 解决方案 # 点击安装源 协议选择 http:// 路径填写 mirrors.aliyun.com/centos/8.3.2011/BaseOS/x86_64/os URL类型 软件库URL 其他路径 # 版本 7 mirrors.aliyun.com/centos/7/os/x86
报错1 [root@slave1 data_mocker]# kafka-console-consumer.sh --bootstrap-server slave1:9092 --topic topic_db [2023-12-19 18:31:12,770] WARN [Consumer clie
错误1 # 重写数据 hive (edu)> insert overwrite table dwd_trade_cart_add_inc > select data.id, > data.user_id, > data.course_id, > date_format(
错误1 hive (edu)> insert into huanhuan values(1,'haoge'); Query ID = root_20240110071417_fe1517ad-3607-41f4-bdcf-d00b98ac443e Total jobs = 1
报错1:执行到如下就不执行了,没有显示Successfully registered new MBean. [root@slave1 bin]# /usr/local/software/flume-1.9.0/bin/flume-ng agent -n a1 -c /usr/local/softwa
虚拟及没有启动任何服务器查看jps会显示jps,如果没有显示任何东西 [root@slave2 ~]# jps 9647 Jps 解决方案 # 进入/tmp查看 [root@slave1 dfs]# cd /tmp [root@slave1 tmp]# ll 总用量 48 drwxr-xr-x. 2
报错1 hive> show databases; OK Failed with exception java.io.IOException:java.lang.RuntimeException: Error in configuring object Time taken: 0.474 se
报错1 [root@localhost ~]# vim -bash: vim: 未找到命令 安装vim yum -y install vim* # 查看是否安装成功 [root@hadoop01 hadoop]# rpm -qa |grep vim vim-X11-7.4.629-8.el7_9.x
修改hadoop配置 vi /usr/local/software/hadoop-2.9.2/etc/hadoop/yarn-site.xml # 添加如下 <configuration> <property> <name>yarn.nodemanager.res