【问题标题】:Unable to install package matlab-psychtoolbox-3无法安装软件包 matlab-psychtoolbox-3
【发布时间】:2021-07-12 16:50:48
【问题描述】:

我按照以下website 中的步骤安装 psychtoolbox,但是它一直显示无法找到软件包... 我已经看过这个similar question 我假设安装了neurodebian nonfree ppa 这种情况发生在我更新到 Ubuntu 21.04 之后,它在 20.04 下可以正常工作。代码显示在本节末尾。我愿意提供任何进一步的信息,请帮助。

输出是

josh777@josh777-Surface-Book-3:~$ wget -O- http://neuro.debian.net/lists/hirsute.au.full | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list
--2021-07-13 00:24:48--  http://neuro.debian.net/lists/hirsute.au.full
Resolving neuro.debian.net (neuro.debian.net)... 129.170.233.11
Connecting to neuro.debian.net (neuro.debian.net)|129.170.233.11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 316 [audio/basic]
Saving to: ‘STDOUT’

-                                 100%[=============================================================>]     316  --.-KB/s    in 0s      

deb http://mirror.aarnet.edu.au/pub/neurodebian data main contrib non-free
#deb-src http://mirror.aarnet.edu.au/pub/neurodebian data main contrib non-free
deb http://mirror.aarnet.edu.au/pub/neurodebian hirsute main contrib non-free
#deb-src http://mirror.aarnet.edu.au/pub/neurodebian hirsute main contrib non-free
2021-07-13 00:24:48 (73.3 MB/s) - written to stdout [316/316]

josh777@josh777-Surface-Book-3:~$ sudo apt-key adv --recv-keys --keyserver hkps://keyserver.ubuntu.com 0xA5D32F012649A5A9
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.HFxaCmjF60/gpg.1.sh --recv-keys --keyserver hkps://keyserver.ubuntu.com 0xA5D32F012649A5A9
gpg: key A5D32F012649A5A9: "NeuroDebian Archive Key <pkg-exppsy-maintainers@lists.alioth.debian.org>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
josh777@josh777-Surface-Book-3:~$ sudo apt-get update
Hit:1 http://mirror01.idc.hinet.net/ubuntu hirsute InRelease
Hit:2 http://mirror01.idc.hinet.net/ubuntu hirsute-updates InRelease                                                                   
Hit:3 http://mirror01.idc.hinet.net/ubuntu hirsute-backports InRelease                                                                 
Hit:4 http://mirror01.idc.hinet.net/ubuntu hirsute-security InRelease                                                                  
Hit:5 http://dl.google.com/linux/chrome/deb stable InRelease                                                                           
Get:6 http://tw.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                                                             
Hit:7 http://archive.canonical.com/ubuntu hirsute InRelease                                                                            
Get:8 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]                                                       
Hit:9 https://pkg.surfacelinux.com/debian release InRelease                 
Hit:10 http://mirror.aarnet.edu.au/pub/neurodebian data InRelease
Hit:11 http://mirror.aarnet.edu.au/pub/neurodebian hirsute InRelease
Get:12 http://mirror.aarnet.edu.au/pub/neurodebian data/non-free amd64 Packages [5961 B]
Get:13 http://mirror.aarnet.edu.au/pub/neurodebian data/non-free i386 Packages [5961 B]
Fetched 239 kB in 2s (97.2 kB/s)                            
Reading package lists... Done
josh777@josh777-Surface-Book-3:~$ sudo apt-get install matlab-psychtoolbox-3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package matlab-psychtoolbox-3

【问题讨论】:

    标签: psychtoolbox


    【解决方案1】:

    repo / repo 索引文件中似乎有一些错误?但是我们可以从http://neurodebian.ovgu.de/debian/pool/non-free/p/psychtoolbox-3-nonfree/(matlab-psychtoolbox-3 依赖于matlab-psychtoolbox-3-nonfree)将两个主要的 Ubuntu 21.04 包下载到一个新的空文件夹中

    wgethttp://neurodebian.ovgu.de/debian/pool/non-free/p/psychtoolbox-3-nonfree/matlab-psychtoolbox-3_3.0.17.6-1~nd110+1_all.deb

    wgethttp://neurodebian.ovgu.de/debian/pool/non-free/p/psychtoolbox-3-nonfree/matlab-psychtoolbox-3-nonfree_3.0.17.6-1~nd110+1_amd64.deb

    并使用 apt 安装,以安装依赖项:

    cd new-folder/
    sudo apt install ./*
    

    ....您将被要求提供 MATLAB 位置。

    注意:matlab-psychtoolbox-3-nonfree 的文件控制说

    Depends: neurodebian-popularity-contest, psychtoolbox-3-lib (>= 3.0.17.6-1~nd110+1.dfsg), psychtoolbox-3-common (>= 3.0.17.6-1~nd110+1.dfsg), libx11-6, libxext6, libxfixes3, libxi6, freeglut3, libgl1-mesa-glx, libxmu6, libxpm4
    

    ...所以也许您还必须下载neurodebian-popularity-contest, psychtoolbox-3-lib, psychtoolbox-3-common。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-11-02
      • 2020-05-15
      • 2020-09-26
      • 2021-10-06
      • 2023-03-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多