主页

索引

模块索引

搜索页面

常见问题

镜像更新问题

‘Suite’ value from ‘stable’ to ‘oldstable’

问题:

root@debian:# apt-get update
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://nginx.org/packages/mainline/debian buster InRelease [3604 B]
Get:5 http://nginx.org/packages/mainline/debian buster/nginx amd64 Packages [46.3 kB]
Reading package lists... Done
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
N: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Version' value from '10.9' to '10.10'
E: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
E: Repository 'http://deb.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

解决:

$ apt-get --allow-releaseinfo-change update

其他

64位ubuntu14.04运行32位程序:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
sudo apt-get install libz1:i386


[问]如何查询linux服务器是64位还是32位:

32位的系统中int类型和long类型一般都是4字节, 64位的系统中int类型还是4字节的, 但是long已变成了8字节inux系统中可用"getconf WORD_BIT"和"getconf LONG_BIT"获得word和long的位数. 64位系统中应该分别得到32和64(getconf命令还可以获取系统的基本配置信息,比如操作系统位数,内存大小,磁盘大小等. ``$getconf -a`` 可以看到详细的系统信息):

  #getconf LONG_BIT
  #getconf WORD_BIT

//X686或X86_64则内核是64位的,i686或i386则内核是32位的:
  #uname -a

直接看看有没有/lib64目目录的方法。64位的系统会有/lib64和/lib两个目录,32位只有/lib一个
以下命令:

  #file /sbin/init
  #file /bin/cat
  #uname -m
  #arch
  # echo $HOSTTYPE

查看cpu是多少位的:
  #more /proc/cpuinfo

error: error creating symbolic link ‘/usr/share/man/man1/xxx’ [1]

在debian中安装软件时报上面错误,解决方法:
$ mkdir -p /usr/share/man/man1

主页

索引

模块索引

搜索页面