E: 有一些索引文件不能下载,它们可能被忽略了,也可能转而使用了旧的索引文件。
huzi@huzi-desktop:~$ sudo apt-get install oracle-xe
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列【新】软件包将被安装:
oracle-xe
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 3 个软件包未被升级。
需要下载 221MB 的软件包。
解压缩后会消耗掉 405MB 的额外空间。
获取:1 http://oss.oracle.com/debian/ unstable/non-free oracle-xe i386 10.2.0.1-1.1 [221MB]
96% [1 oracle-xe 213MB/221MB 96%] 33.0kB/s 3分 56秒^[[96% [1 oracle-xe 213MB/221MB 96%] 33.0kB/s 3分 55秒^[[96% [1 oracle-xe 213MB/221MB 96%] 33.0kB/s 3分 51秒^[[96% [1 oracle-xe 213MB/221MB 96%] 46.2kB/s 2分 44秒^[[96% [1 oracle-xe 213MB/221MB 96%] 46.2kB/s 2分 43秒^[[下载 221MB,耗时 1小时 27分 25秒 (42.1kB/s)
选中了曾被取消选择的软件包 oracle-xe。
(正在读取数据库 ... 系统当前共安装有 127702 个文件和目录。)
正在解压缩 oracle-xe (从 .../oracle-xe_10.2.0.1-1.1_i386.deb) ...
This system does not meet the minimum requirements for swap space. Based on
the amount of physical memory available on the system, Oracle Database 10g
Express Edition requires 1024 MB of swap space. This system has 860 MB
of swap space. Configure more swap space on the system and retry the installation.
dpkg:处理 /var/cache/apt/archives/oracle-xe_10.2.0.1-1.1_i386.deb (--unpack)时出错:
子进程 新的 pre-installation 脚本 返回了错误号 1
在处理时有错误发生:
/var/cache/apt/archives/oracle-xe_10.2.0.1-1.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
huzi@huzi-desktop:~$ sudo apt-get install oracle-xe
[sudo] password for huzi:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列【新】软件包将被安装:
oracle-xe
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 3 个软件包未被升级。
需要下载 0B/221MB 的软件包。
解压缩后会消耗掉 405MB 的额外空间。
(正在读取数据库 ... 系统当前共安装有 127702 个文件和目录。)
正在解压缩 oracle-xe (从 .../oracle-xe_10.2.0.1-1.1_i386.deb) ...
This system does not meet the minimum requirements for swap space. Based on
the amount of physical memory available on the system, Oracle Database 10g
Express Edition requires 1024 MB of swap space. This system has 860 MB
of swap space. Configure more swap space on the system and retry the installation.
dpkg:处理 /var/cache/apt/archives/oracle-xe_10.2.0.1-1.1_i386.deb (--unpack)时出错:
子进程 新的 pre-installation 脚本 返回了错误号 1
在处理时有错误发生:
/var/cache/apt/archives/oracle-xe_10.2.0.1-1.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
huzi@huzi-desktop:~$ sudo apt-get install oracle-xe
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列【新】软件包将被安装:
oracle-xe
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 3 个软件包未被升级。
需要下载 0B/221MB 的软件包。
解压缩后会消耗掉 405MB 的额外空间。
(正在读取数据库 ... 系统当前共安装有 127702 个文件和目录。)
正在解压缩 oracle-xe (从 .../oracle-xe_10.2.0.1-1.1_i386.deb) ...
正在处理用于 desktop-file-utils 的触发器...
正在处理用于 python-gmenu 的触发器...
Rebuilding /usr/share/applications/desktop.zh_CN.utf8.cache...
正在处理用于 man-db 的触发器...
正在处理用于 ureadahead 的触发器...
ureadahead will be reprofiled on next reboot
正在处理用于 python-support 的触发器...
正在设置 oracle-xe (10.2.0.1-1.1) ...
update-rc.d: warning: /etc/init.d/oracle-xe missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
/etc/init.d/oracle-xe: line 68: /etc/init.d/functions: No such file or directory
Oracle Database 10g Express Edition is not configured. You must run
'/etc/init.d/oracle-xe configure' as the root user to configure the database.
Executing Post-install steps...
-e You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.
huzi@huzi-desktop:~$ /etc/init.d/oracle-xe configure
You must be root to run the configure script. Login as root and then run the
configure script.
huzi@huzi-desktop:~$ su /etc/init.d/oracle-xe configure
未知 id:/etc/init.d/oracle-xe
huzi@huzi-desktop:~$ sudo /etc/init.d/oracle-xe configure
/etc/init.d/oracle-xe: line 68: /etc/init.d/functions: No such file or directory
Oracle Database 10g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press <Enter> to accept the defaults.
Ctrl-C will abort.
Specify the HTTP port that will be used for Oracle Application Express [8080]:
Specify a port that will be used for the database listener [1521]:
Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:
Confirm the password:
Passwords do not match. Enter the password:
Password can't be null. Enter password:
Password can't be null. Enter password:
Confirm the password:
Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:
Starting Oracle Net Listener...Done
Configuring Database...Done
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.
/etc/init.d/oracle-xe: line 177: /etc/sysconfig/oracle-xe: No such file or directory
To access the Database Home Page go to "http://127.0.0.1:8080/apex"
huzi@huzi-desktop:~$
//密码输入的和登录ubuntu密码一样。
分享到:
相关推荐
非常详细的 Ubuntu 10.10安装Oracle 10g 教程
VMware安装Ubuntu10.10和Oracle11gr1.doc
自己整理的Ubuntu安装指南。希望对大家有帮助
Ubuntu 10.10安装配置tftp服务.doc
ubuntu10.10安装配置全过程图文详解
Ubuntu 10.10的安装图解过程Ubuntu 10.10的安装图解过程
Ubuntu 10.10在2010年10月正式发布,让众多Ubuntu用户都对这款全新的系统充满期望。毕竟,Ubuntu 10.10是Canonical公司推出的最为用户友好的系统,而且为它添加了很多新的功能。 熟悉Ubuntu系统的用户了解,在...
在U盘中安装Ubuntu 10.10的方法
U盘安装ubuntu10.10图文教程
用Ubuntu10.10 dvd版本作为本地源,Ubuntu 10.10 DVD ISO挂载的方式来更新软件,已经通过测试
Ubuntu10.10下嵌入式开发环境的配置
ubuntu10.10安装低版本的gcc编译器
windows_XP下安装Ubuntu10.10
ubuntu 10.10网络配置10步曲
Ubuntu 10.10 桌面版硬盘安装教程
在ubuntu10.10下安装的ns2的说明手册,出现问题的解决手册
Ubuntu10.10下tftp服务器配置笔记